Black Friday: 50% off the full report and report packs until Tuesday 1 December.

Start a free scan

Fix library · WordPress

Give every page a main heading (H1) on WordPress

The H1 is the heading at the top of a page that tells visitors, screen readers and Google what the page is about. Here is how to add one where it’s missing.

  • Whoever edits your pages
  • about 10 min a page

The fix: Give each page one visible main heading, marked up as an H1, that says what the page is about.

Step by step

  1. Open a page and look at the main heading at the top of the content.
  2. If there is no heading, add one that names the page's topic, product or service.
  3. If there is a heading but it isn't an H1 (it is styled text or an H2), change its level to Heading 1 in your editor.
  4. If every page of one type lacks an H1, the template is the cause, for example a theme that shows the title as plain text; fix the template once.
  5. View the page source and confirm one <h1> appears with the right text.

On WordPress

  1. Most themes print the page or post title as the H1. If yours doesn't, check whether the title is hidden on that page (a common page-builder option) or, in a block theme, whether the template's Title block is set to H1 in the Site Editor.
  2. In Elementor and similar builders, set the main heading widget's HTML tag to H1.

Why it matters

The H1 is the main heading at the top of a page, telling visitors at a glance that they are in the right place. Google uses the main visible heading as one of its sources when it writes the headline for your search result, and its guidance suggests putting the page's title in the first visible H1. Screen reader users also jump to the H1 to find where the content starts.

For your developer

The check reads the HTML as served, so a heading inserted only by client-side JavaScript counts as missing; render it on the server. An H1 that wraps only an image without alt text counts as an empty heading, a separate check, and styled <div> or <p> elements that look like headings don't count.

<main>
  <h1>Wedding cakes in Austin</h1>
  <p>Hand-made to order, from tasting to delivery.</p>
</main>
One visible main heading at the top of the content

Sources