[wp-trac] [WordPress Trac] #29475: Adding ARIA roles in wp_nav_menu

WordPress Trac noreply at wordpress.org
Tue Sep 2 20:24:11 UTC 2014


#29475: Adding ARIA roles in wp_nav_menu
-------------------------+------------------------------
 Reporter:  Chrisdc1     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Menus        |     Version:  3.9.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  accessibility
-------------------------+------------------------------

Comment (by joedolson):

 I don't think that this is a good idea; most of the time, wp_nav_menu is
 not a menu in the ARIA sense. When ARIA describes an item as being a menu,
 it's drawing an equivalency to a menu of functions that effect the current
 page, such as a contrast changer, font size selector, etc. Anything with a
 role of menubar should be a set of options that effect the current page,
 not options that navigate to other pages.

 A list of links, like wp_nav_menu most often is, is best represented by
 the "navigation" role, rather than the menu role.

 Info about ARIA menus:

 http://www.w3.org/WAI/GL/wiki/Using_ARIA_menus
 http://www.w3.org/TR/wai-aria/roles#menubar

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29475#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list