astro/jsx-a11y/mouse-events-have-key-events
apply
jsx-a11y/mouse-events-have-key-events
rule to Astro components
This rule is the same rule as jsx-a11y/mouse-events-have-key-events rule but it applies to the Astro components.
You must have eslint-plugin-jsx-a11y installed to use this rule.
However, this rule probably doesnβt work for Astro components because Astro components donβt provide an event listener as syntax.
π 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/media-has-caption Next Page
astro/jsx-a11y/no-access-key β
β astro/jsx-a11y/media-has-caption Next Page
astro/jsx-a11y/no-access-key β