jsx-a11y/no-access-keyrule to Astro components
Enforce no accessKey prop on element. Access keys are HTML attributes that allow web developers to assign keyboard shortcuts to elements. Inconsistencies between keyboard shortcuts and keyboard commands used by screenreaders and keyboard-only users create accessibility complications so to avoid complications, access keys should not be used.
📚 Further Reading
This rule was introduced in eslint-plugin-astro v0.11.0
🔍 Implementationfrom eslint-plugin-jsx-a11y
Edit this page