-
Notifications
You must be signed in to change notification settings - Fork 638
Closed
Labels
accessibilitybugSomething isn't workingSomething isn't workingcomponent: NavListneeds more inforeact
Description
Description
Hi there 👋 I'm running into an issue where if a NavList SubNav is closed and there are no aria-current
children that are active, the active state is still on the SubNav level.
Screen.Recording.2023-07-27.at.9.53.49.AM.mov
Please let me know if I'm misunderstanding, but I would have expected that if all the aria-current
in the children were false
there would be no active marker on the parent of those children. Thank you so much!
Steps to reproduce
- Create a NavList with multiple parents that have children
- Set
aria-current
based on the child route being equal to the current page - Open and close different parents after clicking on different children
Version
v35.26.1
Browser
Chrome
Metadata
Metadata
Assignees
Labels
accessibilitybugSomething isn't workingSomething isn't workingcomponent: NavListneeds more inforeact