accesskey attribute value must be unique

Log in (Premium content) Request a demo

Rule Description

All accesskeys in the document must be unique. Put another way, accesskeys must not be repeated to prevent unexpected effects for keyboard users.

The Algorithm, in Simple Terms

Ensures that each element on the page with an accesskey attribute has a unique value.

Why this is Important

Specifying an accesskey for some part of a document allows the user to quickly activate or focus an element by pressing the specified key (usually in combination with the alt key). If the same accesskey is used more than once, this could create unexpected effects that ultimately make the page less accessible.

How to Fix the Problem

Ensure all accesskey values in the document are unique.

Compliance Data & User Impact

User Impact: Critical
Disabilities Affected:
  • Blindness
  • Low Vision
  • Mobility/Dexterity
Issue Type:
  • WCAG 2.0 (A): MUST
WCAG Success Criteria:
  • 2.1.1 Keyboard
Section 508 Guidelines:
  • Not applicable

Additional Information

Relevant Technologies:
  • HTML 4
  • HTML 5
Test Reliability: Automated testing is possible, with high accuracy
Rule ID: accesskeys