Skip to content

Instantly share code, notes, and snippets.

@alanfluff
Created March 20, 2013 18:34
Show Gist options
  • Save alanfluff/5207245 to your computer and use it in GitHub Desktop.
Save alanfluff/5207245 to your computer and use it in GitHub Desktop.
[HTML CSS Accessibility] ARIA roles
HTML
---
<div role="navigation">
CSS
---
div[role="navigation"] {
your styles here
}
Roles
---
application
banner
complementary
contentinfo
form
main
navigation
search
Details http://www.w3.org/WAI/PF/aria/roles#landmark_roles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment