R

RatedWithAI

WCAG guidance

Scan your site

WCAG 2.1

2.4.1 Bypass Blocks

Level A success criterion

Provide a mechanism to bypass repeated content like navigation.

Why it matters

Keyboard and screen reader users should be able to skip repetitive content quickly.

Common violations

  • No skip link at the top of the page
  • Skip link hidden or not focusable
  • Long navigation before main content

Code examples

Bad

<a href="#main" class="sr-only">Skip</a>

Good

<a href="#main" class="skip-link">Skip to main content</a>

How to fix

Add a visible-on-focus skip link that jumps to the main content region.

Related criteria

Related resources

Scan your site

Check your WCAG coverage in minutes

Start a free scan