Default font size Increase font size  |   Decrease font size   |  
Skip to main content

Success Criterion 2.4.4 Link Purpose (In Context): [Level A]

The intent of this Success Criterion is to help users understand the purpose of each link so they can decide whether they want to follow the link. Whenever possible, provide link text that identifies the purpose of the link without needing additional context. Assistive technology has the ability to provide users with a list of links that are on the Web page. Link text that is as meaningful as possible will aid users who want to choose from this list of links. Meaningful link text also helps those who wish to tab from link to link. Meaningful links help users choose which links to follow without requiring complicated strategies to understand the page.

Techniques

Providing link text that describes its purpose

The text for the link should describe exactly the purpose of the link and not just a vague name of the page it's taking you to or its URL.

<a href="matchschedule2013.html">Schedule</a>

<a href="matchschedule2013.html">Match schedule for 2013-2104 season</a>	

If am image is used instead of link text, the desription must be supplied in the alt attribute.

<a href="matchschedule2013.html" ><img src="football.gif" alt="Match schedule for 2013-2104 season" /></a>	

If the link contains both an image and text and the text describes the purpose adequately the the alt value may set to blank.

<a href="matchschedule2013.html" ><img src="football.gif" alt="" />Match schedule for 2013-2104 season</a>	

This also applies to area elements in image maps. See (SC 1.1.1 for an example)

Changing the link text

A control should be provided near the top of the page which allows the user to select either short text or long text in a link. Although short text is usually adequate in providing a descriptiuon of where the link is taking you, some users, possibly depending on the assitive technology they use, prefer a more detailed explanation which includes the context information of the link.

<h1>WCAG Conformance Levels</h1>                  
<p><a href="levels-with-context.html" >Full link Version</a></p>
<ul>
    <li>WCAG 2.0 Conformance:                   
	    <a href="history.docx" class="hist">Level A</a>,                   
	    <a href="history.pdf" class="hist">Level AA</a>,                   
	    <a href="history.html" class="hist">Level AAA</a>                  
    </li>                  
    <li>WCAG 1.0 Conformance:                   
	    <a href="history.docx" class="hist">Level A</a>,                   
	    <a href="history.pdf" class="hist">Level AA</a>,                   
	    <a href="history.html" class="hist">Level AAA</a>                  
	</li>                  
</ul>
<h1>WCAG Conformance Levels</h1>                  
<p><a href="levels-without-context.html" >Short link Version</a></p>
<ul>
    <li>WCAG 2.0 Conformance:                   
	    <a href="history.docx" class="hist">WCAG 2.0 Conformance Level A</a>,                   
	    <a href="history.pdf" class="hist">WCAG 2.0 Conformance Level AA</a>,                   
	    <a href="history.html" class="hist">WCAG 2.0 Conformance Level AAA</a>                  
	</li>                  
    <li>WCAG 1.0 Conformance:                   
	    <a href="history.docx" class="hist">WCAG 1.0 Conformance Level A</a>,                   
	    <a href="history.pdf" class="hist">WCAG 1.0 Conformance Level AA</a>,                   
	    <a href="history.html" class="hist">WCAG 1.0 Conformance Level AAA</a>                  
    </li>                  
</ul>

This may be done by providing an alternate version of the web page, or alternatively use scripting to modify the link text.

Identify link's purpose using surrounding text.

A somewhat unclear link, for instance the ubiquitous "Click here" can actually be meaningful depending on its relationship with enclosing text and elements. W3C have identified several structures which can be used for this purpose, some examples of which follow:

<!-- Enclosing sentence -->
<p>A match schedule for the Rugby World Cup 2015 can be viewed <a href="schedule2015.html">here</a>.</p>

A match schedule for the Rugby World Cup 2015 can be viewed here.


   
<!-- Enclosing paragraph -->
<h3>Rugby World Cup 2015</h3>
<p>The Rugby world cup is coming to Britain. <a href="rwc2015.html">[Read more...]</a></p>

Rugby World Cup 2015

The Rugby world cup is coming to Britain. [Read more...]


<!-- Enclosing list litem -->
<ul>
    <li>See the Rugby World Cup 2015 <a href="schedule2015.html">match schedule</a>.</li>
    <li>Read about the <a href="teams.html">teams</a> involved</li>
    <li>Watch out for these <a href="players.html">players</a></li>
</ul>

    
<!-- Enclosing table cell and associated headings -->
<table>
    <caption>Rugby World Cup Teams</caption>
    <tr><th>Country</th><th>Winners</th><th>Runners-up</th></tr>
    <tr><td><a href="australia.html">Australia</a></td><td>1991, 1999</td><td>2003</td></tr>
    <tr><td><a href="southafrica.html">South Africa</a></td><td>1995, 2007</td><td></td></tr>
    <tr><td><a href="newzealand.html">New Zealand</a></td><td>1987, 2011</td><td>1995</td></tr>
    <tr><td><a href="england.html">England</a></td><td>2003</td><td>1991, 2007</td></tr>
    <tr><td><a href="france.html">France</a></td><td></td><td>1987, 1999, 2011</td></tr>
</table>
	
Rugby World Cup Teams
Country Winners Runners-up
Australia 1991, 1999 2003
South Africa 1995, 2007
New Zealand 1987, 2011 1995
England 2003 1991, 2007
France 1987, 1999, 2011

Failures

Link not related to link context

In the examples above, the purpose of the links could be identified by the context in which they were placed. If they are removed from this context it makes it more difficult to assoicate the link with its subject. In this example the link has been placed in a separate paragraph, disassociating it from the text in the previous paragraph which established the context.

<h3>Rugby World Cup 2015</h3>
<p>The Rugby world cup is coming to Britain. <a href="rwc2015.html"></p>
<p>[Read more...]</a></p>

Rugby World Cup 2015

The Rugby world cup is coming to Britain.

[Read more...]

Null alt attribute

In the case where there are two links, one with text and one with an image, which serve the same purpose, the image version may have the alternative text missing because it is thought that the second link with the link text will suffice. It may be obvious to sighted users but not necessarily to a screen reader.

<a href="matchschedule2013.html" ><img src="football.gif" alt="" />/a>	
<a href="matchschedule2013.html" >Match schedule for 2013-2104 season</a>	
Top