Opened 6 years ago
Closed 6 years ago
#47106 closed defect (bug) (fixed)
Add aria-current attribute to current item in WP Admin <nav> tabs
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.2.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch commit fixed-major |
Focuses: | accessibility | Cc: |
Description
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 */ }
Attachments (2)
Change History (8)
#3
@
6 years ago
- Keywords commit added
In 47106.2.diff:
- adjustments for the
wp-admin/nav-menus.php
page - makes phpcs happy
- fixes some (pre-existing) missing translators comments to make phpcs even happier
Note: See
TracTickets for help on using
tickets.
That should be fixed in: