RAWEBA
11.8 In each form, are the items of the same type in a combobox grouped together in a relevant way?
- WCAG references
- 1.3.1 Info and Relationships (A)
- Techniques
- H85
Official methodology to test criterion 11.8
Test 1 (11.8.1)
- Find the comboboxes in the document (element
<select>). - For each combobox offering groups of items of the same type, check that these items are grouped together using
<optgroup>elements. - If this is the case for each combobox offering groups of similar items, the test is validated.
Test 2 (11.8.2)
- In the document, find the combobox (
<select>element) which have elements<optgroup>. - For each
<optgroup>element, check that it has alabelattribute. - If this is the case for each
<optgroup>element, the test is validated.
Test 3 (11.8.3)
- In the document, find the comboboxes (
<select>element) which have elements<optgroup>with alabelattribute. - For each
labelattribute, check that its content is relevant. - If this is the case for each
labelattribute, the test is validated.