Skip to content

This is an early unpublished editor's draft; content is incomplete and subject to change.

Relationships detectable

Supplemental requirement

Relationships of meaning between elements are conveyed programmatically.

Tests

HTML hierarchical relationship

Procedure

  1. Determine the contextual hierarchy of the content either visually or through the meaning of the content.
  2. Examine the source code of the HTML document to identify each hierarchical section.
  3. Check that each section uses an appropriate semantic HTML element that reflects its position in the hierarchy.

Expected results

HTML input field/label relationship

Procedure For each input field within the unit of conformance:

  1. Check that each <input>, <select>, and <textarea> in the source code has a programmatically-associated <label> using for and id attributes.

Expected results

HTML list relationship

Procedure

For each list within the unit of conformance:

  1. Check that each list consists of a <ul>, <ol>, or <dl>.
  2. Check that each list item within the list is contained within an <li> element (for <ul> and <ol>) or <dt>/<dd> pair (for <dl>).
  3. 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

HTML nested list relationship

Procedure

For each nested list within the unit of conformance:

  1. Check that all child lists are contained within a <li> of the parent list.

Expected results

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