Skip to content

All checks / Headings

Empty heading tag

Empty heading tags confuse crawlers and screen readers.

Warning empty-heading

In SEOCode's checks since 30 Apr 2026


Why this matters.

Empty heading tags confuse crawlers and screen readers. Every heading must have meaningful text.

Runs on .html .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.


How to resolve it.

Add descriptive text to your <h2> tag or remove it entirely

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Seo Starter Guide

developers.google.com

Using a framework? Next.js · SvelteKit · Nuxt



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card