Skip to main content

Links

Description​

Linked text takes you to the link destination when you click it. Link text should be succinct and make clear where you are being sent and what information you will find out.

Structuring links properly helps navigation, readability, accessibility and SEO.

When to use​

This component should be used:
  • for navigation, to guide users to different web pages, documents or a section of the same page
  • for downloading files (when that is not the main action on the page)
  • for clickable contact details
This component should not be used:
  • to trigger an action, such as submit a form, instead use a button
  • for the main action on a page, instead use a button
  • to style links in the header, see header
  • to style links in the primary navigation, see primary navigation
  • to style links in the footer, see footer
Loading preview...

Guidelines for use​

Links can be added within components that use rich text formatting. The content editor needs to highlight the text within the rich text field and select 'Hyperlink' to add a link.

A link includes 4 different states. Default link, hover, focused and visited. These look slightly different depending on the background colour. These different styles provide feedback on a user's action.

A link can either be inline within a sentence, or set apart as a separate sentence, a listed item or a heading.

When formatting rich text as a link:

  • be concise and meaningful
  • make it clear where the link goes
  • set the link to open in the same tab (unless it's a link to a downloadable file)
  • if linking externally include the website or organisation's name
  • use the same typography style as the surrounding text when the link is in-line
  • use a verb if the link lets the user take an action

When linking to a downloadable file from rich text:

  • tell the user the link will download a file
  • include the file extension and size in brackets in the link text (PDF 1MB)
  • write KB or MB in upper-case after the number

Do not:

  • include more than one link in a single sentence
  • link to the same URL more than once on a page
  • use generic text like "Find out more" or "Click here", this provides no context

For implementation guidance in Contentful, see External link component.

Accessibility​

Screen reader users often navigate a page by jumping directly to the links. Link text should be understandable without the surrounding context.

All Links variants are designed to meet WCAG 2.1 Level AA standards. This includes appropriate colour contrast ratios, keyboard navigation support, screen reader compatibility, and minimum touch target sizes.

For detailed information about our accessibility standards, see our Accessibility Statement.

Design resources​