Single h1 per page
What it checks
AI agents use the single <h1> as the authoritative title of the page for content indexing and answer generation. Ensure exactly one <h1> per page.
Why it matters
Real h1–h6 elements are the boundary markers that heading-aware chunkers and accessibility-tree serializers use to segment a page; visually-styled div, span or p pseudo-headings are not. LangChain’s HTMLHeaderTextSplitter and HTMLSectionSplitter split on header tags, and attach the enclosing header chain as chunk metadata. Readability scores h2–h6, and uses a lone h1 to recover the article title. a11y snapshots emit heading nodes with an explicit level. If a page has no true heading elements, these consumers produce either one undifferentiated blob (no heading metadata to attach) or fall back to guessing (HTMLSectionSplitter infers sections from font size).
Evidence
Heading hierarchy
Documented consumer behaviour on the RAG side. LangChain’s splitter docs state it operates on <h1>, <h2> and <h3>, and ‘adds metadata for each header “relevant” to any given chunk’. The stated goal is ‘keeping related text grouped (more or less) semantically and preserving context-rich information encoded in document structures’ [langchain-html-splitters]. On the agent side, HTML-AAM maps h1–h6 to the heading role with aria-level [w3c-html-aam]. Playwright MCP snapshots explicitly include ‘headings with levels’ [playwright-mcp-snapshots], and Anthropic’s read_page returns the same tree [anthropic-browser-use-tool].
On the extraction side, Readability scores section, h2 to h6, p, td and pre when it looks for the article body, and prefers the single h1 as the title when <title> is ambiguous [mozilla-readability-source]. Cloudflare’s markdown conversion maps headings to ‘##’, costing about 3 tokens against 12-15 for the HTML form [cloudflare-markdown-for-agents]. As a baseline, 59% of mobile sites pass the ordered-headings audit [web-almanac-2025-accessibility].
Limits
The falsifiable claim that survives is ‘headings must exist and be real elements’. The stricter claim audited by sequential-headings is that levels must never skip, as in h2 to h4. That claim has no documented consumer. Every splitter and snapshot cited tolerates skipped levels, and simply records whatever level it finds. No vendor doc or study shows a measured penalty for skipped levels in LLM parsing. Google states outright that ‘there are no additional requirements to appear in AI Overviews or AI Mode, nor other special optimizations necessary’ [google-ai-features-docs], so no AI-search vendor endorses heading structure as an extraction or ranking requirement.
LangChain is a library used by site owners’ own pipelines, not a public crawler of third-party sites — treat it as mechanism evidence, not proof that ChatGPT chunks your page this way.
How it scores
The evidence is for real heading elements as chunk boundaries: LangChain’s HTMLHeaderTextSplitter splits on <h1>, <h2> and <h3> and attaches the enclosing header chain as chunk metadata. That covers the part of this audit which asks for an h1 to exist and to be a real element. The single-h1 half is a convention rather than a documented requirement. HTML5 permits several, and no cited splitter or snapshot fails on the second one. The audit therefore reports extra h1 elements as an ambiguity in the page’s top-level label, not as a parsing failure.
Sources
- Split HTML — LangChain text splitter integrations — LangChain, vendor-doc (verified 2026-08-20)
- Snapshots — Playwright MCP — Microsoft, vendor-doc (verified 2026-08-20)
- Browser use tool (browser_toolset_20260801) — Anthropic, vendor-doc (verified 2026-08-21)
- HTML Accessibility API Mappings 1.0 — W3C, draft-spec (verified 2026-08-21)
- Readability.js source — _isProbablyVisible — Mozilla, repo (verified 2026-08-20)
- Introducing Markdown for Agents — Cloudflare, vendor-doc (verified 2026-08-20)
- Web Almanac 2025 — Accessibility chapter — HTTP Archive, dataset (verified 2026-08-20)
- AI features and your website — Google Search Central, vendor-doc (verified 2026-08-21)
- mozilla/readability Readability.js source — Mozilla, vendor-doc (verified 2026-08-20)
- AI features and your website — Google Search Central — Google, vendor-doc (verified 2026-08-21)