Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

"role=main should only appear on significant elements" #30

Open
varjmes opened this issue Jan 12, 2015 · 3 comments
Open

"role=main should only appear on significant elements" #30

varjmes opened this issue Jan 12, 2015 · 3 comments
Labels

Comments

@varjmes
Copy link

varjmes commented Jan 12, 2015

Hey Team!

I just ran the a11y audit for a project I'm working on and got the following failure:
X role=main should only appear on significant elements

I have defined role=main only on my <main></main> element, which as far as I am aware is a fine practice to do.

After a little googling I found the following: https://groups.google.com/forum/#!topic/introduction-to-web-accessibility/ChGzBSe0_yU but after following the fix (updating my accessibility developer tools) nothing changed unfortunately.

Any idea what the problem might be?

@brunowego
Copy link

+1

@addyosmani
Copy link
Owner

I think the issue may be a false positive with the accessibility-developer-tools. If you're experiencing the same issue when running them directly (https://github.com/GoogleChrome/accessibility-developer-tools#command-line-runner), please file a bug there and we can explore getting it fixed upstream.

@brunowego
Copy link

Thanks a lot @addyosmani 👍

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

No branches or pull requests

3 participants