Reference elements [SC4-1-1-idref]

Test info
Possible Results

Test info

Test for Success Criterion 4.1.1

About

Checked Elements: label[for], *[aria-activedescendant]
This test checks that each element refered to from an idref attribute exists.

Short Description

Select each label element with a for attribute and each element with a aria-activedescendant attribute. Take the attribute with the IDREF (for=""/aria-activedescendant) value as IdrefAttr. There must be an element with the same id with IdrefAttr on the page.

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

Failed Element referenced incorrectly

Element referenced incorrectly

Passed Element referenced correctly

Element referenced correctly