Links

Links guide users to related content, and well-written link text makes them easier to use.

This page covers:

  • the two parts of a link
  • how to write good link text
  • link placement
  • button styling

There are two parts to a link

A link is made up of:

  • a web address (URL). For example 'https://sport-exercise.ed.ac.uk/gym-memberships'
  • link text, which is displayed on the page. For example, 'Gym memberships'

How to write good link text

Good link text is easy to interpret and makes sense without its surrounding context.

Do not use a web address as link text

Using a web address (URL) as link text makes the link difficult to interpret and is not compatible with assistive technology that turns text into speech.

Make link text predictable

Link text must help the user predict where the link will take them.

Avoid vague link text

Do not use link text such as:

  • Click here
  • More information
  • Learn more

These examples do not tell the user where the link will go and they make your site less accessible.

If links go to different places, use different link text for each one.

Link text must make sense without its surrounding content

Users might not read the entire web page, so link text must make sense without its surrounding content.

When linking to information, you can use the title of the page you are linking to, provided it is suitably descriptive. For example:

Gym memberships

When the link text describes an action, start it with a verb. For example:

Browse programmes by subject

Duplication of links

Avoid duplicating links where you can.

If you need to include multiple links on a page that go to the same destination, use the same link text for all of them.

Add details about what the link will do

Where relevant it can be useful to help users predict what a link will do by adding details of whether the link will:

  • open in a new tab
  • require a University login  
  • open a type of file (PDF, Excel, Word)

Links to external websites

If a link goes to an external website, include the name of the website at the end of the link text.

Link text and screen readers

Screen readers (text-to-speech assistive software) can read out links without their surrounding text, allowing users to jump from link to link and quickly find the one they are looking for.

Following our link text guidance enables screen reader users to effectively navigate links on a page.

Put links on a new line

Putting links on a new line makes it easier to write clear, accessible link text. It also helps to keep links distinct from paragraph text.

Write:

Find out about our photocopying options on our website.

Photocopying options

Do not place a link mid-sentence (inline).

Do not write:

Find out about our photocopying options on our website.

Limit the use of button styling for links

You can style links as buttons to make them prominent and easy to find.

Reserve buttons for the most important links on a page. When there are too many buttons, they compete for the user’s attention and lose their effectiveness.