The page does not contain a heading, skip link, or landmark region
How to fix the bypass accessibility rule. Keyboard.
The message you saw
Lighthouse runs axe-core inside it, so both are the same check, and the fix below works whichever tool showed you the message.
What it means
WCAG asks that people can skip blocks repeated on every page, like the header and the menu, and get straight to the content. This message means axe found none of the three usual ways to do that on the page: no heading, no link to a spot on the same page (such as a skip link), and no main landmark.
The check is generous: any one of the three is enough to pass. It only runs on pages that have at least one link. So a failure means the page is built entirely from <div>s and <span>s, which often happens with page builders, single-page apps and old table layouts.
Who is affected
Keyboard and screen-reader users have no quick way past the menu and header, so they must go through every link on every page before reaching the content.
Keyboard users move with the Tab key. Without a way to skip, they press Tab through every menu link, on every page, before reaching the content. For someone using a switch device or a mouth stick, each press takes effort.
Screen-reader users jump by headings or landmarks; with neither, they have to listen to the page from the top.
How to find it
- Run the checker: this rule is reported for the whole page.
- In Chrome DevTools, search the Elements panel for
<main,<h1,<h2andhref="#. If none are found, this is why. - Press Tab on a fresh page load: if the first thing you reach is a menu link, not a “Skip to content” link, there’s no skip link.
How to fix it
- Wrap the page’s own content in a
<main>element. This alone passes the check, and screen readers can jump to it. - Mark up the page title and section titles as real headings (
<h1>,<h2>…). - Add a skip link as the first focusable element on the page, pointing at the
<main>’s id. It can be hidden until it receives keyboard focus. - Use
<header>,<nav>and<footer>for the other parts, so the whole page has landmarks.
Examples
Div-only page
Before
<div class="header">…</div>
<div class="content">
<div class="title">Our menu</div>
</div>After
<a class="skip" href="#main">Skip to main content</a>
<header>…</header>
<main id="main">
<h1>Our menu</h1>
</main>Skip link that appears on focus
Before
/* no skip link */After
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; }Common mistakes
- Passing this check doesn’t prove 2.4.1 is met: a page with one heading at the very bottom passes, but doesn’t help anyone skip. Check by pressing Tab yourself.
- A skip link must point at an id that exists, or it does nothing (see the skip-link rule).
WCAG success criteria
When this rule fails, the page fails:
- 2.4.1 Bypass Blocks (Level A, WCAG 2.0, 2.1, 2.2)
Check your fix
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools. Scan again after your change: when the rule no longer appears under the problems, the fix worked.
An automated pass means this rule found nothing wrong. It doesn’t prove the page is accessible: some of what WCAG asks for needs a person to check, and the report’s manual checklist lists those steps.
Related fix guides
- Skip links are not focusable
- Document does not have a main landmark
- All page content should be contained by landmarks
- Page should contain a level-one heading
More detail
- Deque University’s reference for bypass (the makers of axe-core, the engine our scanner uses)
- W3C’s Understanding 2.4.1
- All fix guides