Rule
Skip to content
The page must offer a way to skip repeated blocks.
- Rule
bypass-blocks- WCAG 2.2
- 2.4.1 Bypass Blocks (opens in a new tab) (Level A)
- Severity
- Serious
What it checks
One check per page. It passes when the page offers any of the ways past repeated content that WCAG names: a landmark, such as <main>, <nav> or a named <section>; a heading; an in-page link, such as a skip link, whose target exists; or frames that all carry a title. A skip link hidden until it takes focus counts, and one set to display: none does not. Open shadow roots are searched too.
A page with fewer than four links and buttons passes, as it has no block worth skipping. The document inside an embedded frame is not checked, since a frame is part of a page rather than a page.
When a person decides
A page with none of these is sent for review, not failed. The criterion is about blocks repeated across pages, and one page cannot show repetition. A person checks whether the page shares navigation or other blocks with its neighbours and, if so, how a reader gets past them.
Example
Sent to review
<div class="top">
<a href="/">Home</a>
<a href="/shop/">Shop</a>
<a href="/visit/">Visit</a>
<a href="/contact/">Contact</a>
</div>
<div class="content">
<p>Spring opening hours start on Monday.</p>
</div>
Passes
<nav aria-label="Site">
<a href="/">Home</a>
<a href="/shop/">Shop</a>
<a href="/visit/">Visit</a>
<a href="/contact/">Contact</a>
</nav>
<main>
<p>Spring opening hours start on Monday.</p>
</main>
The engine is tested against both examples.
How to fix it
Wrap the main content in <main> and the navigation in <nav>, add a skip link to the start of the main content, or give the page headings.
Check your own pages
This rule runs in every pour audit: the browser extension, the bookmarklet, the command line and the editor. Get pour, free.