Start scanning free

( Operable / WCAG 2.4.1 )

Skip link target is missing or not focusable

This check maps to Bypass Blocks. Use the guidance below to confirm the issue, understand who it affects and ship a fix.

Moderate Level A WCAG 2.4.1 — Bypass Blocks

What’s wrong

A skip navigation link points to an anchor that either does not exist or cannot receive keyboard focus.

Why it matters

Skip links allow keyboard users to bypass repeated navigation. If the target is broken, the skip link is useless and keyboard users must tab through all navigation on every page load.

How to fix it

Ensure the target element exists with the matching id. If it is not natively focusable (e.g. a <main> element), add tabindex="-1" so it can receive programmatic focus.

Before
<a href="#main">Skip to content</a>
<!-- ... -->
<div id="main">
After
<a href="#main">Skip to content</a>
<!-- ... -->
<main id="main" tabindex="-1">

Learn more