Rule: fieldset must have one legend

Rule ID Control 8
Conformance Required
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.
Conformance Required
WCAG Success Criteria

Success Criterion 3.3.2 Labels or Instructions

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