Rule 11.8.1
Summary
This test consists in detecting <select>
tags with <form>
tags as ancestor on the page.
The control that checks that items are grouped via a <optgroup>
, if necessary has to be done manually.
Business description
Criterion
Test
Description
Dans chaque formulaire, pour chaque liste de choix (balise select
), les items sont-ils regroupés avec une balise optgroup
, si nécessaire ?
Level
A
Technical description
Scope
Page
Decision level
Semi-decidable
Algorithm
Selection
All the <select>
tags within <form>
tags (form select)
Process
Test1
The selection handles the process.
For each occurence of the Set1 raise a MessageA
MessageA: Manual check on element
- code : ManualCheckOnElements
- status: Pre-Qualified
- parameter : snippet
- present in source : yes
Analysis
Not Applicable
The page has no <select>
tag within <form>
tag (Set1 is empty)
Pre-qualified
In all other cases
Notes
We detect the elements of the scope of the test to determine whether the test is applicable.