Ensure accesskey values are unique

Access keys let users quickly focus a part of the page. For proper navigation, each access key must be unique. Lighthouse reports any duplicate access keys found in a page:

Lighthouse: Access keys are not unique
Access keys are not unique.

How to fix this problem

To fix this problem, first identify duplicate accesskey values using the Lighthouse report, as shown in image above. Then change the value of the duplicate access keys so that each access key is unique.

For each defined accesskey, ensure the value is unique and does not conflict with any default browser and screen reader shortcut keys. Access keys allow users to quickly active or move the focus to a specific element by pressing the specified key (usually in combination with the <kbd>alt></kbd> key).

Duplicating accesskey values creates unexpected effects for users navigating with keys. Learn more in accesskey attribute value must be unique.

More information

Last updated: Improve article