landmark-one-main: Page must contain exactly one <main> landmark and a skip link
Wrap the primary content in a single <main id="main"> landmark and provide a keyboard-reachable 'Skip to main content' link at the top of <body>.
Why this matters for EAA & ADA compliance
Without a skip link and <main> landmark, keyboard-only shoppers must Tab through 40+ mega-menu navigation links on every single page load.
Mapped standards: 1.3.1 Info and Relationships (Level A), 2.4.1 Bypass Blocks (Level A) • EN 301 549 § 9.2.4.1
Standard HTML Fix
<div class="page-wrapper">...</div>
<a href="#main" class="skip-link">Skip to main content</a>
<main id="main">...</main>
Shopify Liquid Fix
<div id="MainContent">{{ content_for_layout }}</div>
<a class="skip-to-content-link visually-hidden" href="#MainContent">Skip to content</a>
<main id="MainContent" role="main">{{ content_for_layout }}</main>
React / Next.js Fix
<div className="content">{children}</div>
<a href="#main-content" className="sr-only focus:not-sr-only">Skip to main content</a>
<main id="main-content">{children}</main>