Relationships detectable
Supplemental requirement
Relationships of meaning between elements are conveyed programmatically.
Tests
HTML hierarchical relationship
Procedure
- Determine the contextual hierarchy of the content either visually or through the meaning of the content.
- Examine the source code of the HTML document to identify each hierarchical section.
- Check that each section uses an appropriate semantic HTML element that reflects its position in the hierarchy.
Expected results
- #3 is true.
HTML input field/label relationship
Procedure For each input field within the unit of conformance:
- Check that each
<input>,<select>, and<textarea>in the source code has a programmatically-associated<label>usingforandidattributes.
Expected results
- #1 is true.
HTML list relationship
Procedure
For each list within the unit of conformance:
- Check that each list consists of a
<ul>,<ol>, or<dl>. - Check that each list item within the list is contained within an
<li>element (for<ul>and<ol>) or<dt>/<dd>pair (for<dl>). - Check that the immediate child element of the list is an
<li>element (for<ul>and<ol>) or<dt>/<dd>pair (for<dl>).
Expected results
- #1, #2, and #3 are true.
HTML nested list relationship
Procedure
For each nested list within the unit of conformance:
- Check that all child lists are contained within a
<li>of the parent list.
Expected results
- #1 is true.
Key Terms
- accessibility support set
group of user agents and assistive technologies you test with
The AGWG is considering defining a default set of user agents and assistive technologies that they use when validating guidelines.
Accessibility support sets may vary based on language, region, or situation.
If you are not using the default accessibility set, the conformance report should indicate what set is being used.
- accessibility supported
available and working in the user agents and assistive technology in the accessibility support set
The working group intended to include a default accessibility support set. See Default accessibility support set #277.
- programmatically determinable
meaning of the content and all its important attributes can be determined by software functionality that is accessibility supported
- relationship of meaning
Logical associations between elements that convey meaning and are necessary to understand the content