Make WordPress Core

Opened 5 weeks ago

Closed 4 weeks ago

#62973 closed defect (bug) (fixed)

TwentyTwentyOne: aria-controls attributes missing from primary menu

Reported by: bschneidewind's profile bschneidewind Owned by: audrasjb's profile audrasjb
Milestone: 6.8 Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: has-patch
Focuses: accessibility Cc:

Description

When the primary menu has sub-menu items setup, the aria-exanded attribute is present but the aria-controls should be added to provide additional context on what is being expanded.

Change History (4)

This ticket was mentioned in PR #8330 on WordPress/wordpress-develop by @bschneidewind.


5 weeks ago
#1

  • Keywords has-patch added

On the twentytwentyone theme, this adds the aria-controls attribute to sub-menu buttons and the id to the sub-menu wrapper for added context on what is being expanded.

Trac ticket: https://core.trac.wordpress.org/ticket/62973

#2 @audrasjb
5 weeks ago

  • Milestone changed from Awaiting Review to 6.8
  • Owner set to audrasjb
  • Status changed from new to accepted

Thanks for the ticket. Moving to milestone 6.8.

This ticket was mentioned in PR #8365 on WordPress/wordpress-develop by anandraj346.


4 weeks ago
#3

Referencing PR: #8330
Added comment for added functionality.

Trac ticket: https://core.trac.wordpress.org/ticket/62973

#4 @audrasjb
4 weeks ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 59856:

TwentyTwentyOne: Add aria-controls attributes to primary sub-menu.

On the Twenty Twenty-One theme, this changeset adds aria-controls attribute to sub-menu buttons and an id to the sub-menu wrapper for additional context on what is being expanded.

Props bschneidewind, audrasjb, anandraj346.
Fixes #62973.

Note: See TracTickets for help on using tickets.