Pages must offer a way to skip repeated blocks
Give keyboard and screen reader users a way to jump past the navigation and other blocks repeated on every page, straight to the main content: a skip link, a main landmark or headings.
| Rule ID | bypass |
|---|---|
| Impact | Serious |
| Success criterion | 2.4.1 Bypass Blocks · A |
| Standards | WCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549 |
| Fixed automatically |
Example
<div class="header">
<a href="/fiction">Fiction</a>
<a href="/kids">Kids</a>
<a href="/sale">Sale</a>
</div>
<div class="content">Autumn reading list</div>A keyboard user presses Tab through every menu link, on every page, before reaching the article.
<a href="#main" class="skip-link">Skip to main content</a>
<header>
<a href="/fiction">Fiction</a>
<a href="/kids">Kids</a>
<a href="/sale">Sale</a>
</header>
<main id="main"><h1>Autumn reading list</h1></main>Tab, then Enter, jumps to the article. Screen readers can also jump to the main landmark or heading.
Why it matters
Sighted mouse users skip a header with one glance. People who move through a page in order have no such shortcut. A keyboard-only user, someone using a switch device or a mouth stick, or a person with a tremor may need dozens of key presses to get past a large menu, and has to repeat them on every page.
Screen reader users face the same problem when they listen to the page from the top: they hear the logo, the search box and every menu item before the content they came for.
A way to bypass these blocks turns that effort into a single step. It is a WCAG Level A requirement (2.4.1), and it also helps people who use screen magnifiers, who otherwise have to pan across a wide header to find where the content starts.
How to fix it
Use more than one technique: they help different people.
Add a skip link. Make it the first focusable element on the page, point it at the main content, and show it when it receives focus:
<a href="#main" class="skip-link">Skip to main content</a>
...
<main id="main">
<style>
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; }
</style>
Mark up landmarks. Wrap the content in <main>, the menu in <nav>, and the header and footer in <header> and <footer>. Screen readers can list these and jump to each one.
Use real headings. Start the content with an <h1> and structure the rest with <h2>, <h3>. Screen reader users jump from heading to heading with a single key.
Long repeated blocks inside the content, such as a filter sidebar of 40 checkboxes on a shop page, deserve their own skip link too ("Skip to results").
Checklist
- Make a skip link the first focusable element.
- Show the skip link when it receives focus.
- Wrap the content in a main element.
- Start the content with an h1 heading.
How the check works
The check runs on pages that contain links. It passes when the page has at least one in-page link (an href starting with #), a heading, or a main landmark. If it finds none of these, the page is flagged for review. A pass does not prove that the mechanism works: check by hand that the skip link comes first, appears on focus and lands on the content.
Resources
- Understanding 2.4.1 Bypass Blocks W3C
- W3C ACT rule cf77f2 W3C ACT
- W3C ACT rule 047fe0 W3C ACT
- W3C ACT rule b40fd1 W3C ACT
- W3C ACT rule 3e12e1 W3C ACT
- W3C ACT rule ye5d6e W3C ACT
- Page regions W3C WAI
- Page structure tutorial W3C WAI
Updated October 27, 2026