Skip to content
Nazmul Nikhil
Menu

Document Does Not Have a Main Landmark (PageSpeed Insights)

PageSpeed flags pages without a <main> element. Here's the one-tag fix and why it helps screen-reader users.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Document Does Not Have a Main Landmark (PageSpeed Insights)
Photo: Lucas George Wendt on Unsplash

In short

Screen-reader users can jump straight to the main content if the page has one <main> element (or role="main"). Wrap the page's primary content in <main>, once per page, outside the header and footer. Weight 3.

In passed form: "Document has a main landmark."

<header>...</header>
<main>...</main>
<footer>...</footer>

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsDocument does not have a main landmarkMain element accessibilityLandmark-one-main
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com