Unique accesskey values
Last updated:
How to fix duplicate accesskey values?
Make sure every accesskey attribute on the page has a unique value:
two elements share the same accesskey
<a href="/home" accesskey="h">Home</a>
<a href="/help" accesskey="h">Help</a>
each element has a unique accesskey
<a href="/home" accesskey="h">Home</a>
<a href="/help" accesskey="e">Help</a>
If you do not need the accesskey feature, remove the attribute entirely.
Why is this important?
When two elements share the same accesskey, the browser decides which one to activate. This behavior differs between browsers and is not predictable. Keyboard users and assistive technology users who rely on accesskeys cannot depend on the shortcut working as expected.
More info:
Rule info
Standard
User impact
Serious impact Significantly hinders users with disabilities. Should be fixed as a high priority. Critical : blocks access entirely Serious : significantly hinders use Moderate : causes difficulty Minor : minimal disruptionFix complexity
High level of required technical expertise To resolve this issue, you need technical expertise in software engineering. Resolving this issue requires modifying the software code, for which you need a background in software engineering.Affects
Free Website Accessibility Audit