WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Link to PDF best practise

for

From: Angela French
Date: Feb 8, 2012 10:54AM


May I suggest the way I do it now - to make the document icon part of the hypertext link label:

http://sbctc.edu/college/f_accounting.aspx

>
>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
>
>