RGAA 3.0 - Rule 11.2.1
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.
Does each label (label tag) describe the exact function of the associated form field?
<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)
The selection handles the process.
For each occurence of the Set1 raise a MessageA
- code : ManualCheckOnElements
- status: Pre-Qualified
- parameter : text, snippet
- present in source : yes
The page has no
<label> tag within a
<form> tag that also contains at least one user input element (Set1 is empty)
In all other cases
We detect the elements of the scope of the test to determine whether the test is applicable.