Securealy
Check · SEO · low · passive

Exactly one H1

The home page has one H1.

Severity
low
Tier
Passive: runs on any URL
Category
SEO
Fix
Summary below; full runbook in the Fix Kit, Module 02: Be found
Id
h1

What this means

Your home page has one <h1> element and only one. That heading states what the page is, and every other heading on the page sits below it as an <h2> or lower. Failing means the page has no <h1> at all or has two or more.

How we test it

We fetch your home page, following at most 3 redirects, and count every <h1> opening tag in the HTML, not only in the visible hero. A count of exactly one passes. Zero fails, and two or more fails, and in both cases we report the number we found.

Why it matters

Headings are structure for crawlers and screen readers. A crawler uses the H1 as the strongest statement of what the page is about, and a screen reader user navigates by jumping between headings, so a page with no H1 has no top and a page with several has no clear one. Component-based sites drift into this because each block renders its own top-level heading. The Fix Kit audit checks for exactly one H1 on every page in the sitemap.

The fix

Make the heading that states what the page is the only <h1> on the home page and change every other <h1> to <h2> in the page or the components that render them. Then run node scripts/seo-audit.mjs https://YOUR_DOMAIN/sitemap.xml, which reports the H1 count for any page that does not have exactly one. The full runbook is in the Fix Kit, Module 02.

Prompt for your AI

Paste this into the coding agent that built the app. It reproduces the finding and stops before changing anything; the fix steps are in the kit.

Do not change anything yet. This is a verification pass only.
Run: curl -sL --max-redirs 3 https://YOUR_DOMAIN/ -o /tmp/home.html
Count the H1 tags: grep -oiE '<h1[^>]*>' /tmp/home.html | wc -l
Print each H1 with its text: grep -oiE '<h1[^>]*>[^<]*' /tmp/home.html
Find which file or component renders each H1 and show me the lines.
List what it would take to leave exactly one H1, without editing anything.
Verify: the count printed is exactly 1; if it is 0 or more than 1, report the count and stop.

Next

Grade your own URL

Every grade lists this check with its evidence for your site. Two free grades a day.