- πΊπΈUnited States markie Albuquerque, NM
Drupal 7 is EOL. If this applies to 2.x please reopen and update to that branch.
In Drupal 7 core, the text on the "Read more" links is actually Read more<span class="element-invisible"> about @title</span>
. The invisible text is for accessibility: screen reader users frequently read through all the links on the page, or need to jump to a specific link (by its text), and without this, all the "Read more" links sound the same.
If you use smart_trim, the "Read more" links don't include the invisible text for screen readers making them less accessible.
The default text for the "Read more" links should match core. Since smart_trim allows customizing the link text, the invisible text will need to be customizable too (so it makes sense).
I propose actually setting it to Read more<span class="element-invisible"> about @title</span>
and having smart_trim fill in the @title
.
This has an additional advantage: by using the exact same text that core uses (and passes to t()
) this will also allow using the same translations as core, and so will be good for i18n too (improving a11y and i18n in one patch!).
None.
None.
None.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 is EOL. If this applies to 2.x please reopen and update to that branch.