Skip to main content

Navigation - Skip link

Use a skip link to help keyboard-only users skip to the main content on a page.

Open this skip link example in new window
Copy
<p>To view the skip link, tab to this example, or click inside this example and press tab.</p>

<a class="nhsuk-skip-link" href="#maincontent">Skip to main content</a>
Copy
<p>To view the skip link, tab to this example, or click inside this example and press tab.</p>

{% from 'skip-link/macro.njk' import skipLink %}

{{ skipLink({
  "href": "#maincontent",
  "text": "Skip to main content"
}) }}

When to use a skip link

All nhs.uk pages must include a skip link in the header following guidance in the GOV.UK Design System.

How skip links work

Some people use the tab key on their keyboard to navigate through the links and form elements on a web page. Including a skip link gives users the option to bypass the top-level navigation links and jump to the main content on the page.

The skip link component is visually hidden until a keyboard press activates it.

Research

If you’ve used text input, please share your user research findings.

Help improve this page

The manual is a community effort. Anyone can help improve and grow it.

To help make sure the Skip link guidance is useful, relevant and up to date, you can:

Need help?

If you’ve got a question about the NHS digital service manual or want to feedback, you can contact the team:

Help improve the service manual

We’d welcome your feedback. Can you answer some questions about your visit today?

Updated: February 2019