Skip to content

Potential A11y Violation:
Invalid interactive element role

Point of Failure

Interactive elements should not have role="presentation" or role="none"

Available Automation Evaluation

In checking known available linting and testing tools, these are our findings.

Linting Could Exist

It's possible that a linting rule could be created for this potential failure. Check interactive elements for the role of presentation or the role of none.

Testing Could Exist

See above

Other Test Methods

In addition to automated tests, there are other types of tests that could be conducted to prevent this potential violation.

Developer Authored Test Could Exist

Developers should make sure that their code does not violate this rule, and try to write a test that would prevent a regression in accessibility if the code is later changed.

Manual Test Must Exist

Inspect DOM for instances of role="presentation" and role="none" and ensure that they are not attached to interactive elements.

References

Created with ❤️ and ☕️ by Melanie Sumner. Hosted by Netlify.