Jump to content

Skip links

A skip link is usually the first interactive element on a page. It is visually hidden by default, appears on keyboard focus, and lets users bypass repeated blocks quickly.

This pattern is mainly relevant for keyboard users. It allows skipping past elements with many focusable children.

Recommended baseline: one link to main content

This is the default pattern for most websites:

  • A "Skip to main content" link comes first in the DOM.
  • The link is visually hidden while not focused.
  • On focus, the link becomes visible.
  • On activation, users jump to main content.
  • If a skip-link target is not focusable by default, set tabindex="-1" on that target.

Skip to main content linkPreview

On complex pages, you can provide a small set of skip links to relevant areas (for example search, main content, footer navigation).

Skip links to multiple page sectionsPreview

If you want to read more background and implementation guidance, see Skip navigation links.

For official standards and techniques, see: