-
Notifications
You must be signed in to change notification settings - Fork 10
Aria attributes, roles, etc #48
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
Comments
Hi @rootical To answer this question you should ask what "accessible" means? You can find and read about this topic everywhere online. This is just one of the online examples:
Taken from www.w3.org The attributes you specified above could help you to make of your code accessible out of the box (thanks to the modern browser support) but they do not necessarily guarantee that. Adding them to your code would not make magically things accessible, you still have to do extra work to ensure this. Now going back to the a11yAccordion. Yes you are right there. This code does not have those attributes you have specified. But at the same time were just in their experimental stage 3 years ago. The only concern is that a11yAccordion was written and tested a while ago. I'm not sure how much browsers and assistive technology has changed since then. But then this code uses pretty standard DOM properties so I doubt that it would be much different. @rootical I hope it answers your question. |
Hello. I wonder why there're no aria-labels, aria-expanded, hidden, roles and other things necessary according to WAG and other a11y standards.
So how comes it's accessible?
The text was updated successfully, but these errors were encountered: