Definition button elements must have text content.
Purpose
  • The text content of a button element is used as its label, and ensures that the purpose of the button is spoken by screen readers when the button receives focus.
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 button elements
  • button
Techniques
  • The accessible label of a button element includes its text content along with the alt attribute content of any image elements it contains.
Informational Links