Headings must have discernible text

navigable/empty-heading · WCAG 2.4.6 · Level A

Headings must have discernible text.

Screen reader users navigate pages by headings, so empty headings create confusing navigation points. Ensure all headings contain visible text or accessible names. If a heading is used purely for visual styling, use CSS instead of heading elements.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0