Skip to content
New issue

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

Add aria-expanded to navbar toggles #16140

Merged
merged 2 commits into from
Mar 24, 2015
Merged

Add aria-expanded to navbar toggles #16140

merged 2 commits into from
Mar 24, 2015

Conversation

patrickhlauke
Copy link
Member

Add aria-expanded to the navbar examples code. Additionally, fix the documentation's own navbar toggle (use aria-expanded, aria-controls, and an id rather than class name for the actual <nav>). Fixes #16099

Also, use id rather class name for the navigation, as it's unique and
lets us use correct aria-controls (and without the use of id,
aria-expanded does not get updated correctly by the current dropdown
toggle script)
@patrickhlauke patrickhlauke added this to the v3.3.5 milestone Mar 24, 2015
patrickhlauke added a commit that referenced this pull request Mar 24, 2015
…xpanded

Add aria-expanded to navbar toggles
@patrickhlauke patrickhlauke merged commit 3685aff into twbs:master Mar 24, 2015
@cvrebert cvrebert mentioned this pull request Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ARIA attributes to collapsed navbar (similar to dropdown)
1 participant