All accesskey attribute values in an HTML document must be unique. This means accesskeys must not be repeated to prevent unexpected issues for keyboard users.
Users should have the ability to quickly activate or move the focus to a specific element by pressing the specified key. Duplicating accesskey values makes the page less accessible for people with low vision or mobility impairments.
Ensures that each element on the page with an accesskey attribute has a unique value.
<a href="google.com" accesskey="g">Link to Google</a>
<a href="github.com" accesskey="h">Link to GitHub</a>
Copy
Although the “providing access keys” option exists, it’s not recommended that you include accesskey attribute values due to limitations: