# Empty heading tag

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

Source: https://seocode.io/checks/empty-heading

[All checks](https://seocode.io/checks) / Headings

Empty heading tags confuse crawlers and screen readers.

Warning `empty-heading`

In SEOCode's checks since 30 Apr 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## 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 Guidedevelopers.google.com](https://developers.google.com/search/docs/fundamentals/seo-starter-guide)

Using a framework? [Next.js](https://seocode.io/nextjs-seo) · [SvelteKit](https://seocode.io/sveltekit-seo) · [Nuxt](https://seocode.io/nuxt-seo)

## Related checks.

The h1 to h6 outline search engines and AI retrieval use to find the answer on a page.

- [01 · Missing <h1> tag Critical Every page must have exactly one <h1> tag.](https://seocode.io/checks/missing-h1)

- [02 · Multiple <h1> tags Critical Having multiple <h1> tags dilutes the primary topic signal.](https://seocode.io/checks/multiple-h1)

- [03 · Broken heading hierarchy Warning Heading levels should not skip (e.g., going from h2 to h4).](https://seocode.io/checks/heading-hierarchy)

[All 4 headings checks](https://seocode.io/checks#headings)

## Every check, on every pull request.

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

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
