Web Accessibility: Links in Context

The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link context, except where the purpose of the link would be ambiguous to users in general.
W3 – Links in Content – Web Accessibility

When creating links into your text, you want to be able to allow the reader to know the purpose of the link as well as where it may lead them.  Some examples include:

  • A page contains the sentence “There was much bloodshed during the Medieval period of history.” Where “Medieval period of history” is a link.
  • A page contains the sentence “Learn more about the Government of Ireland’s Commission on Electronic Voting at Go Vote!” where “Go Vote!” is a link.
  • A list of books is available in three formats: HTML, PDF, and mp3 (a recording of a person reading the book). To avoid hearing the title of each book three times (once for each format), the first link for each book is the title of the book, the second link says “PDF” and the third says, “mp3.”

A code example would be to create the link and then give a link description of that link so it gives the reader and idea of what the link is about without taking them out of the current page they are in:

<a title="Routes" href="routes.html">
Current routes at Boulders Climbing Gym

What the code creates is “These are current routes at Boulders Climbing Gym.”



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s