[wp-trac] [WordPress Trac] #30010: hide admin menu separators for screen readers

WordPress Trac noreply at wordpress.org
Thu Oct 16 17:31:53 UTC 2014


#30010: hide admin menu separators for screen readers
-------------------------------+-----------------------------
 Reporter:  afercia            |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Menus              |    Version:  4.0
 Severity:  normal             |   Keywords:
  Focuses:  ui, accessibility  |
-------------------------------+-----------------------------
 When a screen reader reads out the Admin menu, it may announce (depending
 on the user settings) how many items are inside the menu list. For
 example, the default Admin menu has 11 first level items and NVDA will
 announce:
 > "navigation landmark list with 13 items"

 NVDA says "13" because it takes into account all the `LI` elements and 2
 of them are just visual separators: empty `LI` with no link or text.

 Screen reader users may be confused because they're informed about "13"
 items but then they can navigate to just 11 of them (about the last item,
 the "Collapse menu", see #29958).

 Proposed patch just adds an `aria-hidden=true` attribute to separators,
 you can see the result in the NVDA Speech Viewer window in the screenshot
 below.

 [[Image(https://cldup.com/0LbkcmM0MC.png)]]

 @screen reader users, the default first level 11 items are:
 - Dashboard
 - Posts
 - Media
 - Pages
 - Comments
 - Appearance
 - Plugins
 - Users
 - Tools
 - Settings
 - Collapse menu

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30010>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list