Fix landmark-one-main in Webflow
New Webflow pages default every Section and Div Block to generic <div> tags, causing almost every unconfigured Webflow site to fail landmark-one-main. Wrapping all non-header, non-footer sections inside one Div Block whose Element Settings Tag is set to Main (<main id='main-content'>) immediately adds landmark navigation across the page.
Before and after
<!-- Broken Webflow page structure: all sections rendered as plain <div>s -->
<div class="navbar w-nav">...</div>
<div class="hero-section">...</div>
<div class="features-section">...</div>
<div class="footer-section">...</div><!-- Fixed Webflow semantic structure (Element Settings -> Tag: Header, Main, Footer) -->
<a href="#main-content" class="skip-link">Skip to main content</a>
<header class="navbar w-nav">...</header>
<main id="main-content" tabindex="-1" class="main-wrapper">
<section class="hero-section">...</section>
<section class="features-section">...</section>
</main>
<footer class="footer-section">...</footer>Fixed vs. broken example
Pair your single <main id="main-content" tabindex="-1"> landmark with a visible-on-focus "Skip to main content" link at the top of <body>.
Playwright + axe-core check
import { test, expect } from "@playwright/test";
import AxeBuilder from "@axe-core/playwright";
test("Webflow pages expose a single <main> landmark", async ({ page }) => {
await page.goto("/");
await expect(page.getByRole("main")).toHaveCount(1);
const results = await new AxeBuilder({ page })
.withRules(["landmark-one-main"])
.analyze();
expect(results.violations).toEqual([]);
});Template deduplication tip
Adding a <main> wrapper to your Webflow Page Template and CMS Collection Page Templates fixes landmark-one-main across every published blog post, portfolio item, and landing page.
What NVDA and VoiceOver announce
Keyboard and screen-reader users rely on the <main> landmark (and Skip-to-Content links targeting it) to bypass 30+ repeating header, mega-menu, and announcement links on every page navigation.
NVDA (Windows)
Pressing D (next landmark) announces: "no next landmark"
Pressing D jumps straight past navigation and announces: "main landmark"
VoiceOver (macOS / iOS)
Landmarks rotor shows no Main region; user must step through every header link.
Landmarks rotor lists "main", letting the user jump directly to primary content.
Common questions
How do I change a Div Block to <main> in Webflow Designer?
main-wrapper), open the Settings panel (D), change the HTML Tag dropdown from Div to Main, and assign ID main-content.Can a Webflow Component contain a <main> tag?
What semantic tags should Webflow navbars and footers use?
Test a URL for landmark-one-main
Enter any public URL for a free WCAG 2.2 AA check—no account or credit card required.
Managing Webflow client sites? Monitor 15 sites on one flat plan with white-label portals and branded executive PDFs—$1,140/yr ($95/mo billed annually, 24-month rate lock + onboarding) for Founding 10 agencies.