[wp-trac] [WordPress Trac] #43191: Add aria-current to output of Walker_Nav_Menu for front-end navs

WordPress Trac noreply at wordpress.org
Tue Feb 6 12:44:11 UTC 2018


#43191: Add aria-current to output of Walker_Nav_Menu for front-end navs
-----------------------------------------+----------------------------
 Reporter:  williampatton                |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  5.0
Component:  Themes                       |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  good-first-bug aria-current  |     Focuses:  accessibility
-----------------------------------------+----------------------------

Comment (by sami.keijonen):

 Thanks @chetan200891 ! Somehow I could not test your patch, I got two
 different files question. Could be that it's just me and SVN.

 Just in case I uploaded patch
 [https://core.trac.wordpress.org/attachment/ticket/43191/43191.3.diff
 43191.3.diff].

 I tested using default themes and couple of random themes from .org. And
 all seems to work, also in widget menu.

 Aria current is not outputted if theme uses default `wp_page_menu` as a
 fallback in `wp_nav_menu`

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


More information about the wp-trac mailing list