WordPress.org

Make WordPress Core

Opened 4 months ago

#53331 new defect (bug)

Twenty Twenty-One: Bug in primary-navigation.js

Reported by: andreaboe Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

The function that closes the menu and scrolls to anchor when an anchor link is clicked should target only clicks on anchor links in the menu.

Otherwise aria-expanded is toggled when an anchor link in the content area is clicked.

-Andrea

Change History (0)

Note: See TracTickets for help on using tickets.