[wp-trac] [WordPress Trac] #34668: Network admin can't be accessed via keyboard
WordPress Trac
noreply at wordpress.org
Fri Mar 10 18:43:16 UTC 2017
#34668: Network admin can't be accessed via keyboard
--------------------------+----------------------------------------
Reporter: abletec | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Toolbar | Version: 4.3.1
Severity: normal | Resolution:
Keywords: | Focuses: accessibility, javascript
--------------------------+----------------------------------------
Comment (by Cheffheid):
~~It probably doesn't help here that the items with a submenu are also
legitimate links. Because I think what NVDA does is pass the keydown
through as a click event instead.~~
So, there seems to be a way to force NVDA and JAWS to pass keydown events.
I've found this (old) list of the impact of the role attribute and its
value: https://unobfuscated.blogspot.com/2013/05/event-handlers-and-
screen-readers.html
As it turns out, setting a role of "menuitem" will restore the keydown
event and allow the submenus to function.
I was going to ask if making these menus function the same way as the ones
in the left sidebar (that is, make the submenus appear once there is focus
on the parent), but I think this will do as a quick fix for this issue. We
can always discuss a larger overhaul later.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34668#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list