External linking

External links are styled differently to internal links to inform the user they’ll leave the Βι¶ΉΤΌΕΔ domain.

Contributors

  • Anita Heavey
  • Audrey Rapier
Platform:Web

Overview

External links can be added inline (within body text) and/or grouped as a list at the end of an article.

Example of an external link inline and at the end of an article

How it works

The pattern consists of a text link and a GEL 'external link' icon, displayed as a single component. Clicking the link should load the external content into the same window or tab, instead of opening a new one.

The icon size should line up with the cap-height of the accompanying text, and both icon and link should always appear as a single component.

Note

Please see GEL typography for general typographic guidelines, and remember to refer to our touch guidelines for more information on making your designs touch-friendly.

Inline styling

For inline external links, the icon should appear to the right of the text. As a single component, the link's text and icon will share styling characteristics. These could include underlines, colour changes etc.

Examples of different ways to style inline external links

The icon should never be widowed. So, if the icon needs to wrap to the next line, at least one word should wrap along with it.

Example of the icon correctly and incorrectly used

External link in a list format

In a list format, the icon should appear to the left of the text. Text styling characteristics will not affect the icon.

Examples of different ways to style an external link in a list

Accessibility

It's important to be clear about where a link will take our audience, including visually hidden or suitable alt text within the link for screen readers.

Using the icon in a consistent way across products is best practice, for cognitive accessibility as well as GEL ideals. Consistency between inline links or grouped links at the end of an article is also important.

Our audience should always be informed that they will be moving out of the Βι¶ΉΤΌΕΔ domain, and exactly which domain they are moving to. This is especially relevant for those with cognitive impairments, or people using assistive technology.