Skip to main content
Raasta
ModerateBest practicepage-has-heading-one

Page has no level-one heading

A page with no <h1> leaves screen reader users without a clear starting point for the main content. Add one <h1> that names what the page is about, usually the page, post or product name.

Who it hurts

Screen reader users, who often press “1” to jump straight to the main heading.

Themes sometimes style the page title as an <h2> or a <div>, or only use an <h1> for the logo on the home page.

How to fix it

Pick your stack. Review every change before you ship it.

Before

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

After

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

Check it by hand too

List the headings on each template (home, collection, product, post). Each should have one <h1> that matches the page’s purpose.

Automated checks find a large share of accessibility problems, but not all of them. Passing this check does not on its own make a page compliant.