[wp-trac] [WordPress Trac] #47106: Add aria-current attribute to current item in WP Admin <nav> tabs
WordPress Trac
noreply at wordpress.org
Fri May 3 08:14:26 UTC 2019
#47106: Add aria-current attribute to current item in WP Admin <nav> tabs
----------------------------+-------------------------
Reporter: audrasjb | Owner: audrasjb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.2.1
Component: Administration | Version:
Severity: normal | Keywords: needs-patch
Focuses: accessibility |
----------------------------+-------------------------
WordPress Admin screens that use tabs navigation should use `aria-current`
attribute on `<nav>` elements.
For full details, see #47094
Milestoned in 5.2.1 since this regression have been introduced in 5.2 (see
#43398)
Current implementation:
{{{
<li>
<a href="...">...</a>
</li>
}}}
Recommended code:
{{{
<li>
<a href="..." aria-current="page">...</a>
</li>
}}}
{{{
a[aria-current] {
/* styles */
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47106>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list