A page should contain a level-one heading

Each page should have an `<h1>` that names its main topic, so people can confirm where they are and find where the content begins. This is a best practice, not a WCAG requirement.

Rule IDpage-has-heading-one
ImpactModerate
Success criterion Best practice, not a WCAG requirement
Readabler fix Needs a change in the website’s code

Example

Before
<main>
  <div class="page-title">Opening hours</div>
  <h2>Weekdays</h2>
  <p>8 am to 6 pm</p>
</main>

Pressing 1 to find the level-one heading gives “no heading at level 1”.

After
<main>
  <h1 class="page-title">Opening hours</h1>
  <h2>Weekdays</h2>
  <p>8 am to 6 pm</p>
</main>

Pressing 1 jumps to “Opening hours, heading level 1”.

Why it matters

Many screen reader users press the key for level-one headings as soon as a page loads. It is the fastest way to skip the header and menus and to confirm which page they are on. When there is no <h1>, they have to read from the top or guess which heading starts the content.

A clear page title in an <h1> also helps people with cognitive disabilities stay oriented, and search engines use it as a strong signal of what the page is about.

This is a best practice, not a WCAG requirement.

How to fix it

Add one <h1> at the start of the main content that names the page's topic. It usually matches the main part of the <title>.

The title is a styled div or paragraph. Turn it into a heading and keep the class for styling:

<h1 class="page-title">Opening hours</h1>

The logo is the only h1. Many themes put the site name in an <h1> on every page. Use the <h1> for the page title instead, and keep the logo as a link:

<a href="/" class="logo">Green Valley Bakery</a>
...
<h1>Opening hours</h1>

The design has no visible title. On a home page, for example, you can add an <h1> that is hidden visually but still read by screen readers:

<h1 class="visually-hidden">Green Valley Bakery: fresh bread daily</h1>

Then check that the following headings start at <h2>.

Checklist

  1. Give every page one h1 at the start of the main content.
  2. Make the h1 describe the page, not the whole site.
  3. Turn styled title divs into real h1 elements.
  4. Start the next headings at h2.

How the check works

The check looks at the whole page, including frames. It passes when the page or one of its frames contains an <h1>, a heading element with aria-level="1", or role="heading" with aria-level="1", visible to assistive technology. It fails when there is none. It does not check whether the heading text is a good page title: review that yourself.

Resources

Updated October 27, 2026