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
What it checks
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.
The fix
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.
Sources
Where this comes from.
Headings
Related checks.
The h1 to h6 outline search engines and AI retrieval use to find the answer on a page.
Catch it before it ships
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