You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Check that non-form and non-anchor elements with event handlers have valid roles.
http://oaa-accessibility.org/wcag20/rule/94/
Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_button_role
Alternative:
Enforce that non-interactive, visible elements (such as div) that have click handlers use the role attribute.
https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/src/rules/onclick-has-role.js
The text was updated successfully, but these errors were encountered: