Writing and Designing Accessible Links

A guide to best practice for creating accessible and usable links.

 

Link colour and style

  • Reserve the use of blue text for links.
  • Reserve the use of the underline style for links (i.e. don't underline any content that isn't a link!)

Article – Nielsen Norman Group: Guidelines for Visualizing Links

Link target: do not force a link to open in a new window

Ensure all links open in same window. Do not add the attribute target="_blank" to force the link to open a new browser window.

Use of target="_blank" can result in too many browser windows being open at once, causing clutter, confusion.

Also, when a link opens in a new window, the "back" button is not enabled, so once a user moves to this new page they cannot easily return to the previous page.

Remember that users experience web content in different ways. We do not want to prevent a user from controlling their own browser, keyboard, and mouse options and preferences. Users can already use a right click on the mouse to open a link in a new tab or window; you don't need to decide this for them.

Article – Nielsen Norman Group: Opening Links in New Browser Windows and Tabs
W3C Working Group Notes – Opening new windows and tabs from a link only when necessary; Giving users advanced warning when opening a new window

 

Don't links headings

Don't link a heading and then provide context for the link below that link. Instead, provide some introductory or "teaser" content to introduce a topic and then link the user to more information with meaningful link text

Not this:

Betty's butter

Betty Botter bought some butter, but she said, "The butter’s bitter. If I put it in my batter, it will make my batter bitter.

This:

Betty's butter

Betty Botter bought some butter, but she said, "The butter’s bitter.
Learn more about Betty's butter

Related topic: on-click navigation behaviour

Lists of links

  • Write meaningful headings for lists of links: When grouping links together in navigation, avoid non-specific headings such as "Important links" or "Useful links" or "Quick links." Instead, find a heading title that provides context for the links.
  • Where you have more than 8 or 10 links, group the links under themes, or organize them chronologically or alphabetically. Where you have a very long list of links to offer, consider using accordion containers to keep your pages clean and easy to skim.
  • Indicate when you are linking to an external site: When linking your reader to a page off your site, it is sometimes helpful to let the reader to know that you are sending them off your site. i.e., "Learn more about xyz on the Queen's Gazette website"