E-mail List Archives
Link to PDF best practise
From: Rick Hill
Date: Feb 8, 2012 10:00AM
- Next message: Steve Flaukner: "Re: Link to PDF best practise"
- Previous message: Jared Smith: "Re: Max amount of h1 tags"
- Next message in Thread: Steve Flaukner: "Re: Link to PDF best practise"
- Previous message in Thread: None
- View all messages in this Thread
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
- Next message: Steve Flaukner: "Re: Link to PDF best practise"
- Previous message: Jared Smith: "Re: Max amount of h1 tags"
- Next message in Thread: Steve Flaukner: "Re: Link to PDF best practise"
- Previous message in Thread: None
- View all messages in this Thread