💼 This rule is enabled in the 📋 template-lint-migration config.
🔧 This rule is automatically fixable by the --fix CLI option.
Disallows the use of accesskey attribute on elements.
The accesskey attribute creates inconsistencies between keyboard shortcuts and keyboard commands used by screen readers and keyboard-only users, causing accessibility issues.
Examples of incorrect code for this rule:
<template>
<button accesskey="s">Save</button>
</template><template>
<a href="#" accesskey="h">Home</a>
</template>Examples of correct code for this rule:
<template>
<button>Save</button>
</template><template>
<a href="#">Home</a>
</template>