Heading is empty

  • WCAG 1.3.1 Info and Relationships, level A
  • Serious
  • Structure
  • Automated
  • Server pass

Why it matters

An empty heading is announced as "heading" with nothing after it, and shows up as a blank entry in the heading list.

How to fix it

Add text, or remove the heading. If it was only there for spacing, use CSS margin instead.

<!-- Before -->
<h3></h3>

<!-- After -->
<h3>Opening times</h3>

Read the W3C guidance: Understanding 1.3.1 Info and Relationships.

Related rules

Find this on your own site. A11yMate scans every page and lists where it happens. See pricing or browse all rules.