[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 18:47:46 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 afercia):

 > But `aria-current` is not outputted if theme uses default `wp_page_menu`
 as a fallback

 I believe `wp_page_menu()` uses a different default walker, which is
 `Walker_Page` see `walk_page_tree()`. I guess that should go in a separate
 ticket.

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


More information about the wp-trac mailing list