[wp-trac] [WordPress Trac] #43191: Add aria-current to output of Walker_Nav_Menu for front-end navs
WordPress Trac
noreply at wordpress.org
Sun Feb 4 14:14:56 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):
@chetan200891 thanks! I think the nav items have a `$item->current`
property, maybe it would be better to use that? The new attribute should
be documented in the `nav_menu_link_attributes` filter docblock.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43191#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list