-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Request:
Priority navigation should add aria-expanded to the <button> tag(s)—for both "More" and the breakpoint mobile menu:
What is aria-expanded?
aria-expandedindicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Current markup:
<button aria-controls="menu" class="nav__dropdown-toggle priority-nav__dropdown-toggle priority-nav-is-visible" prioritynav-count="2">more</button>Proposed markup:
<button aria-expanded="false" aria-controls="menu" class="nav__dropdown-toggle priority-nav__dropdown-toggle priority-nav-is-visible" prioritynav-count="2">more</button>aria-expanded is a boolean attribute. When the menu is open, it should toggle to true.
Here's a demo that shows aria-expanded in action in a similar context.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels