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 annotation #4

Closed
mathiasbynens opened this issue Jan 8, 2012 · 1 comment
Closed

Add ARIA annotation #4

mathiasbynens opened this issue Jan 8, 2012 · 1 comment

Comments

@mathiasbynens
Copy link
Owner

http://mathiasbynens.be/notes/html5-details-jquery#comment-7

@mathiasbynens
Copy link
Owner Author

@stevefaulkner suggested the following:

I have detailed an example implementation: HTML to Platform Accessibility APIs Implementation Guide. Corresponding ARIA attributes: to the summary element add a role="button" making sure the keyboard behaviour associated with buttons is added i.e. focusable, enter or space activates the button) and aria-expanded="true/false" the states corresponding to the absence/presence of open attribute on details (note: aria-expanded is on the summary not the details), that’s it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant