In Neova Funziona con la scansione stessa: niente da configurare.
Regola rivista il 17 ottobre 2026 · Guida aggiornata il 28 settembre 2026
Buona pratica di accessibilità, non un requisito WCAG. Gli screen reader annunciano un heading vuoto senza nulla da leggere, il che inganna chi naviga per heading.
Cosa potresti fare
Aggiungi del testo all'heading, oppure rimuovi l'elemento heading.
Perché Neova lo segnala
Gli screen reader annunciano un heading vuoto come 'intestazione di livello 2' senza nulla dopo, il che inganna chi salta da un heading all'altro.
Nessun criterio WCAG lo richiede; è una buona pratica e una regola ACT del W3C.
Gli heading vuoti nascono spesso da heading con sola icona o da un template in cui il testo non è stato inserito.
This check fires when a heading tag — an <h1> through <h6> — ships to the browser with no readable text inside it. The markup exists in the DOM, but a screen reader or a crawler that walks the heading outline lands on a node that announces nothing. The stakes are quiet but real: empty headings break the document outline that assistive tech and search engines rely on to understand page structure, and they can trip accessibility audits that block a Lighthouse pass.
A Real Example, and the Fix
The classic offender is a heading kept in the markup purely as a styling or spacing hook, with the visible text living in a sibling element:
<!-- Flagged: the h2 is a decorative container, text sits elsewhere -->
<h2 class="section-divider"></h2>
<div class="section-title">Our Pricing</div>
<!-- Also flagged: icon-only heading, no text node -->
<h3><i class="icon-star" aria-hidden="true"></i></h3>
The fix is to put the real words back inside the heading and move the styling to a class. If the graphic truly is decorative, demote it to a <div> so it stops pretending to be a heading:
<!-- Fixed: heading carries its own text -->
<h2 class="section-title">Our Pricing</h2>
<!-- Icon heading fixed: real text plus a hidden-but-readable label -->
<h3>
<i class="icon-star" aria-hidden="true"></i>
<span>Customer Favorites</span>
</h3>
One trap worth calling out: a heading that looks filled but only contains whitespace, a non-breaking space, or an image with no alt still counts as empty. <h2> </h2> is empty as far as the outline is concerned.
What Counts as Empty vs. What Passes
Markup
Result
Why
<h2></h2>
Empty
No child nodes at all
<h2> </h2>
Empty
Whitespace only, no text
<h2> </h2>
Empty
Non-breaking space is treated as blank
<h2><img src="logo.png"></h2>
Empty
Image has no alt text
<h2><img src="logo.png" alt="Acme"></h2>
Passes
Alt text gives the heading an accessible name
<h2><span>Pricing</span></h2>
Passes
Text lives in a nested element, still readable
How to Detect It on Your Own Site
Lighthouse: Open Chrome DevTools → Lighthouse → run an Accessibility audit. The "Heading elements are not in a sequentially-descending order" and "empty heading" items surface here with the exact node highlighted.
PageSpeed Insights: Run your URL through PageSpeed Insights and open the Accessibility section — empty headings are called out with a DOM snippet.
View Source / DevTools console: Paste this into the console to list every empty heading instantly:
Accessibility tree: In DevTools, open the Accessibility pane for a suspect heading — an empty one shows a blank "Name," which is the giveaway.
Why the Outline Matters More Than It Looks
Sighted users never see this problem — the page looks fine because the visible text lives somewhere. But a screen-reader user navigating by heading (a primary way blind users skim a page) hits your hollow node and hears "heading level 2" followed by silence, then has to guess whether they missed something or the site is broken. Multiply that across a template used on every page and you have a site-wide navigation defect that never shows up in a visual QA pass. Crawlers treat the heading outline as a table of contents for your content; a blank entry is a chapter title with no chapter, and it dilutes the topical signal the surrounding real headings are trying to send.
There is also a maintenance angle. Empty headings are almost always accidental — a leftover from a deleted section, a builder widget dragged in and never filled, a divider someone reached for the wrong tag to build. Each one is a small piece of rot in the template, and they accumulate. Clearing them keeps the markup honest, which pays off every time someone new has to reason about the page structure.
How to Fix It
Put the text back. If a heading is a spacing or divider hack, add the real heading text and style it with CSS instead of leaving it hollow.
Demote decorative headings. A pure visual break that was never a real section title should be a <div> or <hr>, not a heading.
Label icon-only headings. Add a visible <span> or a visually-hidden text label so the heading has an accessible name.
Give images alt text. If a logo or graphic sits inside a heading, the alt attribute becomes the heading's text — fill it in.
Hunt the builder. Page builders love to inject empty heading widgets. Delete the orphaned block rather than hiding it with CSS.
Common Mistakes
Do not "fix" an empty heading by slapping display:none on it — the node still exists in the DOM and still fails the check. Do not stuff it with a single to silence a linter either; that is the exact pattern that got flagged. And resist the urge to keep an empty <h1> around "for SEO" — an empty top-level heading is worse than none, because it signals a title that was never written.
FAQ
Is an Empty Heading a Ranking Penalty?
No direct penalty, but it degrades the semantic structure Google uses to understand your page and can drag down accessibility scoring, which increasingly overlaps with quality signals. Fixing it is cheap insurance, not a gamble.
What Is the Difference Between an Empty Heading and a Heading Level Skip?
An empty heading has no text; a heading level skip has text but jumps levels (for example h2 straight to h4). One is a hollow node, the other is a broken hierarchy — they are separate checks with separate fixes.
Does a Heading With Only an Icon Count as Empty?
Yes, if the icon has no accompanying text and no accessible label. Add a <span> with real words, or an aria-label, so the heading announces something.
My CMS Auto-Generated the Empty Heading. Now What?
Track down the block or widget in your builder and delete it. If a theme template hardcodes it, edit the template — hiding it with CSS leaves the failing node in place.
Where Do Empty Headings Fit in the Bigger Picture?
They are one piece of a healthy document outline. See our guide on how to structure headings for SEO and the heading structure reference for the full picture.
Trovalo sul tuo sito
Neova esegue questo controllo e tutti gli altri a ogni scansione, poi scrive la correzione come ticket per il tuo team.
App desktop per Mac, Windows e Linux
Tutti i 696 controlli, ognuno con la sua fonte
Search Console e Analytics 4, collegati in sola lettura
Ticket verso Jira, Linear e Asana
Scarica NeovaPiano Desktop Free, oppure Solo gratis per 14 giorni, senza carta.