Definition Every label and legend element must contain text content.
Purpose
  • A label or legend elements is only useful for accessibility when it contains content that describes the purpose of the associated form control(s).
Mappings
  • HTML4 Legacy Techniques (Recommended)
  • HTML5 and ARIA Techniques (Required)
WCAG 2.0 Success Criteria

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

Rule Category Forms
Scope Element
Target Resources label and legend elements
  • label
  • legend
Techniques
  • Add text content to label and legend elements that describes the purpose of the form control or group of form controls.
Informational Links