Opened 7 years ago
Closed 7 years ago
#47106 closed defect (bug) (fixed)
Add aria-current attribute to current item in WP Admin <nav> tabs
| Reported by: | audrasjb | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2.1 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: | accessibility |
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
@
7 years ago
- Keywords commit added
In 47106.2.diff:
- adjustments for the
wp-admin/nav-menus.phppage - makes phpcs happy
- fixes some (pre-existing) missing translators comments to make phpcs even happier
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
That should be fixed in: