Headings must have text content

Rule ID Heading 6
Definition Heading elements must have visible text content.
Purpose
  • Heading elements that consist only of image content are not easily restyled for readabilty by people with low vision.
Mappings
  • HTML4 Legacy Techniques (Recommended)
  • HTML5 and ARIA Techniques (Recommended)
WCAG Success Criteria

1.3.1 Info and Relationships (Level A, Primary Success Criterion)

Rule Category Headings
Scope Element
Target Resources Heading elements
  • h1
  • h2
  • h3
  • h4
  • h5
  • h6
Techniques
  • Use CSS instead of images to style heading text content.
Informational Links