accesskey attribute value must be unique
Log in (Premium content) Request a demo
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
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
accesskey values in the document are unique.
- HTML 4
- HTML 5