[wp-trac] [WordPress Trac] #62896: Twenty Nineteen: Limit scope of aria-haspopup and aria-expanded to the primary menu

WordPress Trac noreply at wordpress.org
Mon Mar 3 22:51:43 UTC 2025


#62896: Twenty Nineteen: Limit scope of aria-haspopup and aria-expanded to the
primary menu
-----------------------------------------------+---------------------------
 Reporter:  bschneidewind                      |       Owner:  joedolson
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  6.8
Component:  Bundled Theme                      |     Version:  5.0
 Severity:  minor                              |  Resolution:  fixed
 Keywords:  has-patch has-testing-info commit  |     Focuses:
                                               |  accessibility
-----------------------------------------------+---------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59921" 59921]:
 {{{
 #!CommitTicketReference repository="" revision="59921"
 Bundled Themes: Twenty Nineteen: Omit irrelevant ARIA in menus.

 Don't set `aria-expanded` and `aria-haspopup` attributes outside of the
 primary menu. Secondary menus (social and footer) are set to a depth of 1,
 and have nothing to expand or popup.

 Props bschneidewind, joedolson, mikinc860.
 Fixes #62896.
 }}}

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


More information about the wp-trac mailing list