Opened 5 weeks ago
Closed 6 days ago
#62896 closed defect (bug) (fixed)
Twenty Nineteen: Limit scope of aria-haspopup and aria-expanded to the primary menu
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | minor | Version: | 5.0 |
Component: | Bundled Theme | Keywords: | has-patch has-testing-info commit |
Focuses: | accessibility | Cc: |
Description
The aria-haspopup and aria-expanded attributes are currently applied to the footer and social menus in the TwentyNineteen theme when children items are present in the menu.
The depth is set to 1 and the child items aren't actually there on the front end, but the attributes still end up displaying.
Attachments (2)
Change History (9)
This ticket was mentioned in PR #8239 on WordPress/wordpress-develop by @bschneidewind.
5 weeks ago
#1
- Keywords has-patch added
This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.
5 weeks ago
#4
@
5 weeks ago
- Milestone changed from Awaiting Review to 6.8
- Owner set to joedolson
- Status changed from new to accepted
- Version set to 5.0
#5
@
4 weeks ago
- Keywords has-testing-info added
Test Report
This report confirms the functionality of the patch provided.
Tested Patch: https://github.com/WordPress/wordpress-develop/pull/8239
Environment
OS: Windows 11
Web Server: WordPress Playground
PHP: Playground Default
WordPress Version: 6.8-alpha-20250203.050418
Browser: Chrome
Theme: Twenty Nineteen v3.0
Active Plugins: None
Actual Results
✅ Front-end behavior: The patch resolved the issue successfully.
The aria-haspopup and aria-expanded attributes are currently applied to the footer and social menus in the TwentyNineteen theme when children items are present in the menu.
The depth is set to 1 and the child items aren't actually there on the front end, but the attributes still end up displaying.
Trac ticket: https://core.trac.wordpress.org/ticket/62896