jsx-a11y/no-redundant-rolesrule to Astro components
Some HTML elements have native semantics that are implemented by the browser. This includes default/implicit ARIA roles. Setting an ARIA role that matches its default/implicit role is redundant since it is already set by the browser.
📚 Further Reading
This rule was introduced in eslint-plugin-astro v0.11.0
🔍 Implementationfrom eslint-plugin-jsx-a11y
Edit this page