Heading Structure for Accessibility and SEO

A good heading structure uses one H1 for the page topic, H2s for main sections and H3s for subsections, in a logical order, with real heading elements instead of bold or large text. It helps screen reader users jump through a page, helps sighted readers scan it and gives search engines a clear outline. It is one of the cheapest accessibility fixes, and it helps SEO at the same time.

Why do headings matter for accessibility?

Screen reader users often move through a page by listing or jumping between headings, much as sighted users scan large type. If a page has no real headings, they have to listen to everything in order.

Headings are tested under three WCAG criteria:

See the WCAG 2.2 AA checklist for the full list of Level A and AA criteria.

Why do headings matter for SEO?

Headings tell readers and search engines what each part of a page is about. Clear headings make pages easier to scan, easier to read in a featured answer, and easier for AI tools to pull a section from.

Be realistic about the claims. Google's guidance treats headings as a way to present content clearly for users, and Google has indicated that the exact order and number of heading tags is not something you need to obsess over for ranking. The benefit is mostly indirect: better content structure, better user experience and clearer sections. Write headings for people first.

What is the ideal heading structure?

<h1>How to Choose a Standing Desk</h1>

  <h2>What size standing desk do you need?</h2>
    <h3>Measuring your space</h3>
    <h3>Choosing a desktop width</h3>

  <h2>Which type of standing desk is best?</h2>
    <h3>Electric desks</h3>
    <h3>Manual desks</h3>

  <h2>Frequently asked questions</h2>
    <h3>How tall should a standing desk be?</h3>

Think of it as a table of contents. If someone read only your headings, they should understand what the page covers.

Should a page have only one H1?

One H1 is the clearest practice, and screen reader users and tools expect it. HTML does allow more than one, and Google has said multiple H1s are not a problem for search. The HTML5 "document outline" idea that would reset levels inside sections was never implemented by browsers or assistive technology, so do not rely on it.

Make the H1 match the page's title or main topic. Do not use the site logo as the H1 on every page.

Is it a problem to skip heading levels?

Going from H2 to H4 is not an automatic WCAG failure on its own, but it makes the structure confusing, and some audits and tools flag it. The safe rule is: go down one level at a time, and go back up as far as you need.

Bad:

<h1>Pricing</h1>
<h4>Plans</h4>
<h2>FAQ</h2>

Good:

<h1>Pricing</h1>
<h2>Plans</h2>
<h2>FAQ</h2>

What are the most common heading mistakes?

How do you fix a fake heading?

Before (looks like a heading, but is not one):

<div class="big-bold">Our services</div>

After:

<h2>Our services</h2>
h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

How do you separate style from structure?

Choose the heading level for structure and use a class for appearance:

<h3 class="text-large">Delivery options</h3>
.text-large {
  font-size: 1.75rem;
}

If a design calls for a big card title that sits below an H2, use an H3 and style it as large. Do not use an H1 or H2 just for the look.

How do you write good heading text?

How do you check a page's heading structure?

  1. Use a headings view. WAVE's structure view and Accessibility Insights show the heading outline. Browser extensions such as HeadingsMap do too. See the best free accessibility testing tools.
  2. Read only the headings. Does the outline make sense as a summary?
  3. Use a screen reader. In NVDA, press H to jump to the next heading, and use the elements list to see all headings.
  4. Check for skipped levels, empty headings and several H1s.
  5. Check templates. Headings in headers, footers and widgets repeat across the site.

Kerbwise audits the page you have open against WCAG 2.2 Level A and AA, and also reports on SEO. Its SEO check does not measure keywords, backlinks or rankings. It ranks accessibility issues by severity, with the WCAG number, who is affected and how to fix each one, and exports a PDF with your own logo. Use it as one input, then review the heading outline yourself. See how to run a website accessibility audit.

Try Kerbwise on a page you own

Try Kerbwise ($29 one-time) to run this audit locally and export a client-ready PDF report. Get it on the Chrome Web Store or read more on the Kerbwise page.

Frequently asked questions

How many H1 tags should a page have?

One is the clearest practice for accessibility and for readers. HTML allows more, and Google has said multiple H1s are not a ranking problem, but a single H1 is easier to use and test.

Does skipping heading levels fail WCAG?

Not automatically, but it makes the structure confusing, and many audits flag it. Move down one level at a time.

Do headings help SEO?

They help by making content clearer for users and search engines. The effect is mostly indirect, through better structure and readability, so write headings for people first.

Can I use headings just to make text bigger?

No. Choose the heading level for the structure, and use CSS to control the size.

How do screen reader users use headings?

They list or jump between headings to scan a page and find the section they want, much like scanning large type visually.

Get Kerbwise for Chrome | Kerbwise | Yuktix Labs home