[wp-trac] [WordPress Trac] #36572: Read more link more accessible
WordPress Trac
noreply at wordpress.org
Sat May 7 10:47:21 UTC 2016
#36572: Read more link more accessible
-----------------------------------+----------------------------
Reporter: Travel_girl | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: accessibility
-----------------------------------+----------------------------
Comment (by afercia):
As an alternate approach maybe worth considering `aria-label`. Differences
between the two solutions:
- aria-label: is standard, cleaner, it completely '''overrides''' the
element's text (i.e. the original text is not read out at all)
- screen-reader-text: is basically a hack, requires styling and should be
used only when there's the need to '''add''' something to an existing text
Recently, `aria-label` usage in he admin has greatly increased, see for
example the "row action" links in the Posts screen
{{{
<a href="(edit link here...)" aria-label="Edit “Hello world!”">Edit</a>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36572#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list