WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #43191


Ignore:
Timestamp:
02/01/2018 01:23:06 AM (21 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43191

    • Property Keywords good-first-bug added
  • Ticket #43191 – Description

    initial v2  
    11With recent passes on navigations to add `aria-current` the idea was brought up about placing it on frontend menus too.
    22
    3 See https://core.trac.wordpress.org/ticket/40833 and other related tickets here https://core.trac.wordpress.org/query?keywords=~aria-current
     3See #40833 and other related tickets here https://core.trac.wordpress.org/query?keywords=~aria-current
    44
    55Modifications would be required inside the Walker_Nav_Menu class. I will look closer at the required modifications but something as simple as this could be all that is needed: