Accesskey attribute values must be unique

keyboard-accessible/accesskeys · Best practice

Accesskey attribute values must be unique.

When multiple elements share the same accesskey, browser behavior becomes unpredictable - usually only the first element is activated. Ensure each accesskey value is unique within the page. Also consider that accesskeys can conflict with browser and screen reader shortcuts, so use them sparingly.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0