Skip to main content
Perceivly: Perceivly home

Skip link

Also called: Skip to main content, Skip navigation link

A link at the very start of a page that moves keyboard focus past repeated navigation to the main content.

Definition

A skip link is an in-page link, usually labelled "Skip to main content", placed as the first focusable element on the page and pointing to the start of the main content. It is one of the W3C's sufficient techniques for 2.4.1 Bypass Blocks, Level A, which requires a mechanism to bypass blocks of content that are repeated on multiple web pages.

Many sites keep it visually hidden until it receives keyboard focus.

Why it matters

Without a way to skip, a keyboard user has to tab through every header and navigation link on every page before reaching the content. Screen reader users can also jump by landmark or heading, but sighted keyboard and switch users depend on the skip link.

How to test or meet it

  • Put <a href="#main">Skip to main content</a> first in the <body>.
  • Give the target an id, for example <main id="main" tabindex="-1">, so focus really moves there.
  • Hide it off-screen until focused; never with display: none, which removes it from the tab order.

Automated tools check that a page has some bypass method, such as a skip link, landmark or heading. They cannot confirm that the link appears on focus and moves focus. Load the page, press Tab once, check the link shows, press Enter, then press Tab again: focus should land in the content.

WCAG criteria

Sources

  1. Understanding 2.4.1 Bypass Blocks (W3C)
  2. WCAG technique G1: adding a link at the top of each page that goes directly to the main content area (W3C)

By the Perceivly team · Published . This explains a term; it is not legal advice.

Check a page for free

The free accessibility checker tests one page against WCAG 2.2 A and AA in about 10 seconds and lists what still needs a manual review. No sign-up.

All glossary terms