RGAA 3.0 - Rule 11.6.1
This test consists in checking whether each fieldset tag is followed by a legend tag in the source code.
Is each form field grouping (fieldset tag) followed by a legend (legend tag) in the source code?
For each element of Set1, test if at least one
<legend> child tag is present.
For each occurence of false-result of Test1, raise a MessageA
- code :FieldSetWithoutLegend
- status: Failed
- parameter : tag name
- present in source : yes
The page has no
<fieldset> tag (Set1 is empty)
<fieldset> tag has no
<legend> tag as child (Test1 returns false for at least one element of Set1).
<fieldset> tags have a
<legend> tag as child (Test1 returns true for all the elements of Set1).