Content · Essential
Semantic heading structure
Headings outline the page for screen readers and for any client that splits text by section.
- Scored check
- Web standards
- Essential
- Adopted standard
Standard status Adopted. A ratified standard with real deployment. Standard: WCAG 2.2.
- Kind
- Scored check
- Part of the score
- Web standards: 70% of the score. A check in it can hold a level.
- Module
- Every site
- Who reads it today
- Screen readers; clients that chunk HTML by heading.
- Effect on Google Search
- Indirect. Google Search reads something this affects, such as the rendered page, but no Google feature reads it directly.
| Property | Value |
|---|---|
| Check id | headings |
| Dimension | Content |
| Part | Web standards |
| Tier | Essential. Counts 3 times its weight. |
| Weight | 2 |
| Maturity | Adopted. A ratified standard with real deployment. |
| Publishing skill | semantic-headings |
| Standards | WCAG 2.2 |
Sources
- W3C WAI headings tutorial, W3C
- Google SEO starter guide, Google Search Central
- Bing Webmaster Guidelines, §13: titles, descriptions and headings, Microsoft Bing
What is measured
The scanner reads the <h1>–<h6> elements in the homepage HTML after removing comments and <script>, <style>, and <template> blocks. <noscript> is kept, because a client that runs no script reads it. Pass when the page has an <h1>. More than one <h1>, and a skipped level such as <h2> followed by <h4>, are stated as notes and cost nothing. Partial when there is no <h1> but other headings exist. Fail when the page has no heading at all. One <h1> and no skipped level is a best practice of the W3C WAI headings tutorial; WCAG does not require it.
Reproduce it yourself
You do not have to take our word for any of this. Run the same measurement against your own domain:
HOMEPAGE=https://example.com/
curl -sSL -A 'AgenticWebScore/0.3 (+https://agenticwebscore.com/bot)' -H 'Accept-Language: en' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,text/plain;q=0.8,*/*;q=0.7' "$HOMEPAGE" | perl -0777 -ne 's{<!--.*?-->}{}gs; s{<(script|style|template)\b[^>]*>.*?</\1\s*>}{}gsi; while (m{<(h[1-6])\b[^>]*>(.*?)</\1\s*>}gsi) { my ($l,$t)=(lc($1),$2); $t=~s/<[^>]*>//g; $t=~s/\s+/ /g; print "$l ",substr($t,0,60),"\n" }'
The fix
This is an example written for example.com. Where the scan can build the fix from your own site, the report shows that version instead.
<main>
<h1>Install the command-line tool</h1>
<h2>Requirements</h2>
<h2>Install on macOS</h2>
<h3>With a package manager</h3>
<h2>Check the installation</h2>
</main>
Standards referenced
-
WCAG 2.2
Related checks
| Check | Kind | Maturity | Same skill |
|---|---|---|---|
markdown-negotiation — Markdown content negotiation | Scored check | Experimental | — |
meta — Title and description | Scored check | Adopted | — |
jsonld — JSON-LD structured data | Scored check | Adopted | — |
faq-schema — FAQ markup for visible questions | Unscored check | Adopted | — |
breadcrumb — Breadcrumb markup on an inner page | Unscored check | Adopted | — |
lang — Language declaration and multilingual access | Scored check | Adopted | — |
no-js-fallback — Content that needs no JavaScript | Scored check | Adopted | — |
spa-fallback — Per-page content separation (no SPA fallback) | Scored check | Adopted | — |