Asqatasun v4 - RGAA 3.2016 - Rule 11.2.1
Summary
This test consists in detecting all the <label>
tags within <form>
on the page.
The control that checks that the label identifies precisely the input it is asssociated with has to be done manually.
Business description
Criterion
Test
Description
label
) permet-elle de connaître la fonction exacte du champ de formulaire auquel elle est associée ?Level
A
Technical description
Scope
Page
Decision level
Semi-Decidable
Algorithm
Selection
Set1
All the <label>
tags within a <form>
tag that also contains at least one user input element (form:has(textarea , select , input[type=password] , input[type=checkbox] , input[type=file] , input[type=text] , input[type=radio]) label)
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 : text, snippet
- present in source : yes
Analysis
Not Applicable
The page has no <label>
tag within a <form>
tag that also contains at least one user input element (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.