The main content region is nested inside another region

Automated check landmark-main-is-top-level, run with axe-core

WCAG
Best practice: a recommendation, not a WCAG success criterion
Severity
Moderate: a degraded experience
Typical effort
Quick win, under 1 hour
Category
Page structure

Who this affects

Screen reader users who jump straight to the main content.

Why it matters

A <main> inside another region breaks the most-used shortcut for skipping the header and navigation.

How to fix it

Make <main> a direct part of the page, not a child of <header>, <aside> or another region.

Check your own website

The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.

Scan my website — free

Related checks: Page structure

All checks