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

Check for ARIA Landmarks #12

Open
Heydon opened this issue Aug 24, 2013 · 0 comments
Open

Check for ARIA Landmarks #12

Heydon opened this issue Aug 24, 2013 · 0 comments

Comments

@Heydon
Copy link

Heydon commented Aug 24, 2013

Some examples:

Checking for role="main" /

on #main...

#main:not([role="main"]):not(main):after {
   content: 'error message';
}

Checking for role="banner" on page-level header:

body > header:not([role="banner"]), 
#header:not([role="banner"]), 
#page-header:not([role="banner"]) {
   content: 'error message';
}

You could do the same for contentinfo on the page footer, maybe?

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