WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Link to PDF best practise

for

From: Steve Flaukner
Date: Feb 8, 2012 10:06AM


Take a look at that. The a tag is empty on your suggestion.
On Feb 8, 2012 11:58 AM, "Rick Hill" < <EMAIL REMOVED> > wrote:

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