Skip to main content
  1. Docs
  2. Components
  3. Type

Skip link

The first focusable element on a page: hidden until focused, it jumps past the navigation to the main content.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<a>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

When to use

Use it for
  • Every page with navigation before its content: WCAG 2.4.1, Bypass Blocks.
Not for
  • A console: AppShell has its ownApp shell
  • Links within the pageLink

02

Anatomy

  1. 1skip-link<a>Fixed at the start corner; clipped until it has focus.

03

Do and don't

Say where it goes
Do"Skip to main content": what it skips to.
Don't"Skip": skip what?

04

Content

  • "Skip to main content", or the page's own word for it.
  • One per page: the first thing in the body.
Next — Skip linkAPI