Sc4 1 1 Idrefs

Description

This test checks that each element referred to from an idrefs attribute exists.

Background

Assumptions

no known assumptions

Test properties

Property Value
Success Criterion 4.1.1 Parsing
Test mode Automatic
Test environment DOM
Test subject Single web page

Test procedure

Selector

Test mode: automatic

Select each td and th element with a headers attribute, and each element with an aria IDREFS attribute. The following CSS selector can be used:

td[headers], th[headers], *[aria-controls], *[aria-describedby], *[aria-flowto], *[aria-labelledby], *[aria-owns]

Step 1

Test mode: automatic

Outcome Passed
Testcase SC4-1-1-idrefs
Pointer selector result
ID SC4-1-1-idrefs-pass1
Outcome Failed
Testcase SC4-1-1-idrefs
Error The attribute {IDREFS attribute} refers to an element with the id {idRefVal} which does not exist on the page.
Pointer selector result
ID SC4-1-1-idrefs-fail1