Skip link
On this page
Overview
A skip link provides keyboard and screen reader users a way to bypass
repetitive navigation and jump directly to main content. Use it when
a page has many navigation items preceding the main content area.
It should be the first focusable element on the page, and authors
must provide either an href attribute or a slotted <a> element.
Edit element properties
import '@rhds/elements/rh-skip-link/rh-skip-link.js';
<rh-skip-link href="#main-content">Skip to main content</rh-skip-link>
import { SkipLink } from "@rhds/elements/react/rh-skip-link/rh-skip-link.js";
// NOTE: React 19+ does not require these wrapper imports.
// You can use the custom elements directly as-is.
export const Demo = () => (
<SkipLink href="#main-content">Skip to main content</SkipLink>
);
URL fragment (e.g. #main-content) identifying the target element to
skip to. When set, the component renders its own anchor in shadow DOM
and the default slot accepts plain text for the link label.
Status
- Figma library:
-
Planned - RH Elements:
-
Ready - RH Shared Libs:
-
Planned
To show the skip link, click this top page header and press Shift+Tab on your keyboard.
When to use
- When there are many navigation items preceding main content
- When there are blocks of content that are repeated on multiple pages
Status checklist
| Property | Status | Meaning |
|---|---|---|
| Figma library |
|
Component will be added to the Figma library |
| RH Elements |
|
Component is available in RH Elements |
| RH Shared Libs |
|
Component will be added to RH Shared Libs |
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.