Arostik Logo
ArostikVLARCK

Micro-Technology Solutions

TECHNICAL SEO & AUDIT

H1-H3 Hierarchy Checker

Heading hierarchy and structure analyzer featuring a WCAG health semaphore and interactive visual tree.

Try an example:

Semantic SEO & WCAG Accessibility

Semantic H1–H6 Heading Hierarchy, WCAG 2.2 Compliance & Crawling

Real-Time Protocol Audit

A heading hierarchy checker parses every <h1> through <h6> element in a page's initial HTML response, auditing sequential nesting, single primary focus, and accessible outline clarity. Clean heading trees help both search engines extract topical passage boundaries and assistive technologies navigate complex documents rapidly.

Under WCAG 2.2 Success Criteria 1.3.1 (Info and Relationships) and 2.4.6 (Headings and Labels), screen readers such as NVDA, JAWS, and VoiceOver expose heading shortcuts so blind or low-vision visitors can skim sections by level. Jumping abruptly from <h1> to <h4> strictly for default font size breaks navigation context and leaves assistive users guessing whether intermediate headings are missing.

One of the most frequent UI bugs in component-based frameworks is choosing HTML heading tags for visual styling rather than document structure. Modern HTML5 separates outline semantics from CSS typography completely: always select <h2> or <h3> according to logical section depth, then style size and weight independently via utility classes.

Public landing and utility routes perform clearest with one descriptive <h1> aligned with <title> intent, followed by top-level <h2> sections and nested <h3> subsections. Auditing raw markup also catches noisy template headings—such as site logos wrapped in <h1> or sidebar promo cards placed inside <h4> without parent <h3> containers.

Fixing Skipped Heading Levels, Duplicate H1s & Styling Traps

Engineering checklist to resolve Lighthouse accessibility warnings, duplicate banner H1s, and empty heading nodes:

1. Audit reports two or more <h1> tags on the same URL

Root cause: A shared navbar logo or site title sits inside an <h1> alongside the page's actual main headline <h1>.

Recommended resolution: Change the global header brand mark to an <a> or <span> with proper aria-label, reserving one <h1> strictly for the main route headline.

curl -sL https://example.com/en | grep -oi '<h1[^>]*>.*</h1>'

2. Lighthouse flags 'Heading elements are not in a sequentially-descending order'

Root cause: Markup jumps directly from <h1> to <h3> or from <h2> to <h4>, commonly inside sidebar widgets or footer link columns.

Recommended resolution: Restore sequential increments (h1 -> h2 -> h3) inside content areas and replace decorative card or footer headings with styled <p> or <span> labels.

curl -sL https://example.com/en | grep -oiE '<h[1-6][^>]*>[^<]*</h[1-6]>'

3. Main visual headline renders large on screen yet audit finds zero <h1> tags

Root cause: The headline uses a styled <div> or <p>, or mounts solely on the client after asynchronous hydration.

Recommended resolution: Render the primary <h1> directly inside the Server Component HTML payload so both screen readers and bots see it immediately.

curl -sL https://example.com/en | grep -c '<h1'

4. An empty <h2></h2> or icon-only heading element appears in the DOM outline

Root cause: Conditional loading states render empty heading wrappers or contain only decorative SVG icons lacking text alternatives.

Recommended resolution: Ensure every mounted heading carries readable text or an accessible aria-label, and avoid rendering empty <h*> placeholders while loading.

Inspect DOM nodes for blank heading text before shipping UI updates.

W3C HTML5 Document Outline / WCAG 2.2 (SC 1.3.1 & 2.4.6)

WCAG 2.2 Guidelines, HTML5 Outline Reality & Google Passage Signals

Earlier HTML5 drafts proposed an automatic Document Outline algorithm where nested <section> elements would demote secondary <h1> tags dynamically into <h2> or <h3>. Because zero major browsers or screen readers ever implemented that algorithm, current WHATWG HTML explicitly requires authors to maintain sequential <h1>–<h6> levels manually.

While Google confirms its ranking systems handle multiple <h1> tags gracefully when context is clear, keeping one <h1> and non-skipping subheadings sharpens passage indexing boundaries, improves sitelink extraction, and passes automated Lighthouse accessibility checks effortlessly.

Pay close attention to chrome boilerplate outside <main>. Placing <h3> headings inside footer columns without a preceding <h2> breaks structural continuity right below article content; converting boilerplate column titles to styled <p> elements inside <nav aria-labelledby="..."> preserves a pristine content outline.

Clean Sequential Heading Outline Example

Valid outline: `<h1>H1–H3 Heading Checker</h1>` -> `<h2>Inspection Results</h2>` -> `<h3>Heading Level Breakdown</h3>` -> `<h2>Engineering Standards</h2>` -> `<h3>WCAG 2.2 Criteria</h3>` -> `<h2>FAQ</h2>`. Stepped downward moves never exceed +1 level, while stepping back up from <h3> to <h2> starts each new major section cleanly.

Browser API Scope & Boundaries

Inspection evaluates headings emitted inside initial server HTML; headings mounted lazily behind client-side tabs or dynamic fetches after page load will not appear in raw HTTP extraction.

HTML Heading Hierarchy & WCAG Glossary

Core terminology covering sequential nesting, WCAG 1.3.1/2.4.6, screen-reader shortcuts, and semantic separation:

Jerarquía de Encabezados (H1 a H6)Semántica

What is heading hierarchy in HTML?

A semantic outline organizing content into logical nested tiers of importance for search engines and assistive screen readers.

Criterio de Éxito WCAG 2.1 (1.3.1)Accesibilidad

What does WCAG 2.1 criterion 1.3.1 mandate?

Mandates that information and structure conveyed visually can be programmatically determined via semantic heading tags.

Salto de Nivel de Encabezado (Skipped Level)Accesibilidad

Why should you never skip from H1 directly to H3?

Screen readers rely on heading trees to build navigation indices; skipping levels disrupts conceptual continuity for visually impaired users.

Un solo H1 por DocumentoSEO On-Page

How many H1 tags should a page have?

Best practices recommend a single H1 summarizing the core thesis of the page to avoid diluting topical authority or confusing algorithms.

Frequently Asked Questions on H1–H6 Hierarchy

Is it valid to step back from an <h3> to an <h2> when beginning a new section?

Yes. Returning upward from <h3> to <h2> cleanly starts a new sibling section; accessibility errors occur strictly when stepping downward skips levels (such as jumping from <h1> straight to <h3>).

Must the page <h1> match the <title> tag verbatim?

Exact character parity is unnecessary as long as both target the same topic and search intent. Keep <title> concise for SERP pixel width while letting <h1> read naturally on the page.

Can a visually small card heading still use <h2> or <h3> semantically?

Yes. Separate HTML semantics from styling by choosing the proper <h2>/<h3> level for document depth and applying CSS typography classes for visual sizing.

Why reserve a single <h1> even though Google tolerates multiple H1s?

Screen reader users commonly press shortcut key '1' expecting to jump straight to the main topic headline; keeping one <h1> prevents disorientation and satisfies strict accessibility linters.

Recommended Aros Student guide:HTML5 Document Outline, Accessibility, and Semantic SEO
Read guide