We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Priority navigation should add aria-expanded to the <button> tag(s)—for both "More" and the breakpoint mobile menu:
aria-expanded
<button>
breakpoint
aria-expanded indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
W3 aria-expanded spec
<button aria-controls="menu" class="nav__dropdown-toggle priority-nav__dropdown-toggle priority-nav-is-visible" prioritynav-count="2">more</button>
<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.
true
Here's a demo that shows aria-expanded in action in a similar context.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Request:
Priority navigation should add
aria-expanded
to the<button>
tag(s)—for both "More" and thebreakpoint
mobile menu:What is
aria-expanded
?W3
aria-expanded
specCurrent markup:
Proposed markup:
aria-expanded
is a boolean attribute. When the menu is open, it should toggle totrue
.Here's a demo that shows
aria-expanded
in action in a similar context.The text was updated successfully, but these errors were encountered: