Headings should not be empty
How to fix the empty-heading accessibility rule. Names of links, buttons and controls. A best practice, not a WCAG requirement.
What this rule checks
Ensure headings have discernible text
Who is affected
A heading has no text, so screen-reader users who navigate by headings hit a blank stop.
How to fix it
Add text to the heading or remove the empty heading element.
WCAG success criteria
None. This is a best practice: fixing it helps people using assistive technology, but it doesn’t affect WCAG conformance. Our scanner only reports it if you tick “Also show best-practice suggestions”.
Find it on your own page
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.
More detail
- Deque University’s reference for empty-heading (the makers of axe-core, the engine our scanner uses)
- All fix guides