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

audit-avt1-homepage: invalid role on element main #1413

Closed
andreancardona opened this issue Jul 22, 2020 · 1 comment
Closed

audit-avt1-homepage: invalid role on element main #1413

andreancardona opened this issue Jul 22, 2020 · 1 comment
Assignees

Comments

@andreancardona
Copy link
Contributor

Environment:

Operating system: Mac
Browser: Chrome
AVT 1️⃣
Page: Homepage

Detailed Description:

The WAI-ARIA role or attribute 'presentation' is not valid for the element <main>

What to do:

  • If a native HTML element fits the intended behavior, use that;
  • OR, update the role and/or attributes using the guidance in W3C ARIA in HTML Document conformance requirements for use of "ARIA" attributes in HTML.

Why is this important?

Some HTML elements or attributes have native semantics that map by default to an implied WAI-ARIA semantics. For predictable interaction and behavior of UI controls, these implicit semantics should only be overridden in specific ways,

@andreancardona
Copy link
Contributor Author

This bug will be fixed by the PR opened in the Carbon Gatsby Theme: carbon-design-system/gatsby-theme-carbon#944

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

No branches or pull requests

1 participant