fieldset must have one legend

Definition Every fieldset element must contain exactly one legend element.
Purpose
  • Multiple legend elements contained in the same fieldset may result in the improper calculation of labels for assistive technologies.
Required Yes for HTML4 Legacy Techniques ruleset mapping
WCAG 2.0 Success Criteria

3.3.2 Labels or Instructions (Level A, Primary Success Criterion)

Rule Category Forms
Scope Element
Target Resources fieldset and legend elements
  • fieldset
Techniques
  • A fieldset element should have one and only one legend element to describe the purpose of the form controls it contains.
Informational Links