Provide unique accesskeys [SC4-1-1-accesskey]
Test infoPossible Results
Test info
Test for Success Criterion 4.1.1
About
Checked Elements: Elements for which the accesskey attribute is allowed and defined
This test checks accesskey attribute for all elements to have a unique value.
Short Description
Accesskeys are used to access an element with the keyboard directly. If their values are not unique, the result of pressing the key is not uniquely resolvable. <br>
Autowcag test description: <a href="https://www.w3.org/community/auto-wcag/wiki/SC4-1-1-accesskey">SC4-1-1-accesskey</a>
How to Repair
Assign a new, unique, one character long accesskey to the element.
WCAG 2.0
- Principle 4: Robust
-
Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.
WCAG 2.0: Principle 4 - Guideline 4.1: Compatible
-
Maximize compatibility with current and future user agents, including assistive technologies.
Understanding Guideline 4.1 - Success Criterion 4.1.1: Parsing (Level A)
-
In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features. Note: Start and end tags that are missing a critical character in their formation, such as a closing angle bracket or a mismatched attribute value quotation mark are not complete.
Understanding: Success Criterion 4.1.1 - Techniques
Possible Results
- The accesskey is not unique
-
Labels visually presented for form controls, but does not use the label element to associate them with their controls
- The accesskey is unique
-
There is no element with the same accesskey before the inspected element.