WebAIM - Web Accessibility In Mind

E-mail List Archives

Link to PDF best practise

for

From: Rick Hill
Date: Feb 8, 2012 10:00AM


We have a site that has specified links to PDF files as:

<ul>

<li>
Data Sheet Instructions and certifications (
<a class="internal-link" title="SPO_DataSheetInstructions.pdf" target="_blank" href="../pgc/d/spo/SPO_DataSheetInstructions.pdf">PDF</a>
)
</li>


Note, jut the word PDF is the link label. Although this might fit the WCAG 2 requirements for links:

G53: Identifying the purpose of a link using link text combined with the text of the enclosing sentence

I'm thinking this would be better:

<ul>

<li>
Data Sheet Instructions and certifications (PDF)
<a class="internal-link" title="SPO_DataSheetInstructions.pdf" target="_blank" href="../pgc/d/spo/SPO_DataSheetInstructions.pdf"></a>
</li>



Thoughts?
–––––––––––––––––––––––––––––––––––––––
Rick Hill, Web CMS Administrator
University Communications, UC Davis