Page Title: propos d'Olansi
August 03, 2021 05:22

Provide list labels when appropriate

Actions

Severity Action
Manual Check Determine whether the 3 list container elements benefit from labels and, if so, verify that each accurately describes the contents of the list.
Hidden The hidden list element was not evaluated.

Details

Rule ID List 2
Definition When appropriate, a list container element (ul, ol, dl, [role="list"], [role="group"]) must include a label that describes the purpose or contents of the list.
Purpose
  • Assistive technologies use labels on ul, ol and dl elements, and elements with [role="list"] and [role="group"] attributes to help screen reader users understand the purpose or contents of lists.
WCAG Success Criteria

2.4.6 Headings and Labels (Level AA, Primary Success Criterion)

Rule Category Styling/Content
Scope Element
Target Resources ul, ol and dl elements, container elements with [role="list"], [role="group"]
Techniques
  • Use the aria-labelledby attribute to add a label to a list container element to reference the id(s) of one or more elements on the page that describe its contents.
  • Use the aria-label attribute to add a label to a list container element to provide an explicit text description of its contents.
  • The title attribute can also be used to add a label to a list container element to provide an explicit text description of its contents.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.