astro/jsx-a11y/interactive-supports-focus
apply
jsx-a11y/interactive-supports-focus
rule to Astro components
This rule is the same rule as jsx-a11y/interactive-supports-focus rule but it applies to the Astro components.
You must have eslint-plugin-jsx-a11y installed to use this rule.
The following is a partial excerpt from the jsx-a11y/interactive-supports-focus rule documentation. See original documentation for more details.
Elements with an interactive role and interaction handlers (mouse or key press) must be focusable.
📚 Further Reading
🚀 Version
This rule was introduced in eslint-plugin-astro v0.11.0
🔍 Implementation
Taken with ❤️ from eslint-plugin-jsx-a11yEdit this page
Back
← astro/jsx-a11y/img-redundant-alt Next Page
astro/jsx-a11y/label-has-associated-control →
← astro/jsx-a11y/img-redundant-alt Next Page
astro/jsx-a11y/label-has-associated-control →