-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Dropdowns have broken ARIA labelledby #11572
Labels
Milestone
Comments
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Nov 1, 2018
9 tasks
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Nov 1, 2018
See #11573 |
ncoden
added a commit
that referenced
this issue
Nov 2, 2018
fix: ensure Dropdown aria-labelledby to have an ID #11572
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Nov 12, 2018
…ng-id-11572 for v6.5.1 5ddb04b fix: ensure Dropdown aria-labelledby to have an ID foundation#11572 adce391 fix: revert inadvertent substitution of Dropdown "aria-labelledby" attribute Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
This was referenced Apr 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What should happen?
aria-labelledby must point to label in dropdowns.
What happens instead?
It's creating labelledby attribute but without point to the label.
Possible Solution
Add id to this.$currentAnchor when created with GetYoDigits function.
Test Case and/or Steps to Reproduce (for bugs)
Go to https://foundation.zurb.com/sites/docs/dropdown.html
Inspect dropdowns, they have aria-labelledby attribute but buttons doesn't have this id.
Your Environment
Affects current foundation version 6.5
Checklist
The text was updated successfully, but these errors were encountered: