WCAG Encyclopedia

2.4.1 · OperableLevel A

Bypass Blocks

Give people a way past the things that repeat on every page. A skip link is the usual answer; real landmarks and a sane heading structure also count, because screen reader users navigate by those.

Principle
Operable
Guideline
2.4
Level
A
In WCAG since
2.0
Number
2.4.1

Broken, then fixed

The same interface twice: first with the mistake, then with the smallest change that fixes it.

Broken: Every menu link stands between the reader and the article.
LogoSearchNav ×12Sub-nav ×9Promo ×4Article

A keyboard user presses Tab thirty-odd times to reach the content — and does it again on the next page, and the next.

Fixed: One link, first in the tab order.
Skip to contentLogoSearch…Article

It may be visually hidden until focused, but it must become visible then — a skip link that stays invisible is worse than none, because sighted keyboard users trigger it and lose track of where they are. Press Tab on this page to see ours.

How to test

Check your own interface against 2.4.1, one step at a time.

  1. Open two or three pages of the site and note the blocks that repeat on each: the header, the main navigation, a search bar, a sidebar.
  2. Load a page, click in the address bar and press Tab once. Check whether a skip link appears and becomes visible when it receives focus.
  3. Press Enter on the skip link. Press Tab again and check that focus lands on the first item in the main content, not back in the header.
  4. Where there is no skip link, open the accessibility inspector in your browser (the Accessibility pane in Chrome or Edge DevTools, or the Accessibility tab in Firefox) and check for a main landmark, or for a heading at the start of the main content.
  5. Turn on a screen reader (NVDA on Windows, VoiceOver on a Mac) and jump by landmark or by heading. Check that one jump reaches the main content.

Common questions

Does 2.4.1 require a skip link?

No. A skip link is one way to pass. Landmarks such as a main element, or a heading at the start of each section, also let a person jump past the repeated blocks.

Can a skip link stay hidden until it receives focus?

Yes, as long as it becomes visible when it does. 2.4.7 Focus Visible applies to it like any other link, so a sighted keyboard user has to be able to see it.

Does a page with nothing repeated need a way to bypass blocks?

No. 2.4.1 is about blocks that repeat across a set of pages, such as the same header on every page. A single page with no repeated blocks has nothing to bypass.

Try it yourself

A lab is a small working piece of interface that you change yourself. Read its steps, use the controls under it, and watch the verdict line at the bottom: it says whether the criterion passes or fails as you go. Reset puts it back.

Try it: count the Tab presses

How to use this lab

  1. Goal. Get from the top of the mock page to the article with the keyboard alone.
  2. The controls. The “Skip link, first on the page” tick box, under Bypass, adds or takes away a Skip to content link before the logo. The Links in the menu slider sets how many links sit between the logo and the search field. The count under “To reach the article” says how many Tab presses it takes.
  3. Try this. Untick the skip link and watch the count. Then drag Links in the menu up to 30, and tick the skip link again.
  4. What it means. With the skip link, 2.4.1 passes: one Tab and Enter reach the article, however long the menu. Without it, 2.4.1 fails, because keyboard and switch users must press through every link, on every page. The verdict line under the lab says which.
Bypass

To reach the article

1 Tab, then Enter

2.4.1 passes

Also in guideline 2.4

Criteria in the same guideline often fail together.