[wp-trac] [WordPress Trac] #32578: Admin menu: current item should have an aria-haspopup attribute when folded
WordPress Trac
noreply at wordpress.org
Sun Jun 7 11:25:42 UTC 2015
#32578: Admin menu: current item should have an aria-haspopup attribute when folded
---------------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.2
Severity: normal | Keywords:
Focuses: accessibility, javascript |
---------------------------------------+-----------------------------
See related: #32346
When the admin menu is folded or auto-folded (but not when in responsive
view) the current menu item should have an aria-haspopup="true" attribute
like all the other menu items since it does have a fly-out sub-menu.
Should probably be set and removed with JavaScript depending on the menu
collapsed/expanded status.
With the attribute set, screen readers would correctly announce the menu
item has a sub-menu, see screenshot below:
[[Image(https://cldup.com/XMuS6jwhbK.png)]]
Reference:
http://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup
aria-haspopup (property)
Indicates that the element has a popup context menu or sub-level menu.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32578>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list