E-mail List Archives
Thread: Repeating the same link phrase
Number of posts in this thread: 4 (In chronological order)
From: Timothy J. Luoma
Date: Mon, Sep 02 2002 12:03AM
Subject: Repeating the same link phrase
No previous message | Next message →
I have a download page where documents are available in multiple formats:
| HTML | ZIP | PDF | Word |
======|========|========|========|========|
Doc01 | HTML | ZIP | PDF | Word |
======|========|========|========|========|
Doc02 | HTML | ZIP | PDF | Word |
======|========|========|========|========|
Doc03 | HTML | ZIP | PDF | Word |
======|========|========|========|========|
This passes Section 508 but fails WCAG which says (as level 2 priority)
"Do not use the same link phrase more than once when the links point to
different URLs."
source: http://bobby.watchfire.com/bobby/html/en/gls/g265.html
which led me to
http://www.w3.org/TR/WAI-WEBCONTENT-TECHS/#tech-meaningful-links
which led me to
http://www.w3.org/TR/WCAG10-HTML-TECHS/#link-text
which recommends this technique:
Example.
<A href="my-doc.html">My document is available in HTML</A>,
<A href="my-doc.pdf" title="My document in PDF">PDF</A>,
<A href="my-doc.txt" title="My document in text">plain text</A>
However, that technique does not satisfy the Bobby AAA checker.
Now writing this out over and over again:
"Download Document 1 in PDF"
"Download Document 1 in Word"
"Download Document 1 in ZIP"
seems a bit over-the-top.
Or am I wrong?
What's the best way to handle this?
TjL
--
30 Days to becoming an Opera Lover
http://www.tntluoma.com/opera/lover/
Day Six: Images are Everything
http://www.tntluoma.com/opera/lover/day06-images/
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/
From: Tom Gilder
Date: Mon, Sep 02 2002 4:43AM
Subject: Re: Repeating the same link phrase
← Previous message | Next message →
On Monday, September 2, 2002, 7:53:58 AM, you wrote:
> <A href="my-doc.html">My document is available in HTML</A>,
> <A href="my-doc.pdf" title="My document in PDF">PDF</A>,
> <A href="my-doc.txt" title="My document in text">plain text</A>
>
> However, that technique does not satisfy the Bobby AAA checker.
Just a word of warning: Bobby is not perfect by any means. Quite often
it does get things wrong. Please don't trust Bobby over your
common sense, and the WAI guidelines. Otherwise you might find your
pages becoming *less* accessible.
Cheers
--
Tom Gilder
http://tom.me.uk/
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/
From: John Foliot - bytown internet
Date: Mon, Sep 02 2002 11:22AM
Subject: RE: Repeating the same link phrase
← Previous message | Next message →
Tim,
From www.zaphodbeeblebrox.com, I used the following:
<A class=more
title="Read more of the Trews press release"
href="index.php?release=trews">[
More <SPAN class=hidden>The Trews</SPAN>... ]</A>
Which "displays" [More...], but includes unique title attributes (and thus
unique links), and for backwards compatability also has extra "hidden" text
between the anchor tags.
Does anybody have a problem with this? It certainly passes the "omnipotent"
Bobby...
JF
>
From: Timothy J. Luoma
Date: Mon, Sep 02 2002 1:24PM
Subject: Re: Repeating the same link phrase
← Previous message | No next message
John Foliot - bytown internet wrote:
> <A class=more
> title="Read more of the Trews press release"
> href="index.php?release=trews">[
> More <SPAN class=hidden>The Trews</SPAN>... ]</A>
>
> Which "displays" [More...], but includes unique title attributes (and thus
> unique links), and for backwards compatability also has extra "hidden" text
> between the anchor tags.
>
> Does anybody have a problem with this? It certainly passes the "omnipotent"
> Bobby...
a) Bobby isn't omnipotent
b) I thought about doing this... but I think that the guideline is for
people with cognitive visual impairments who might not make the right
connections between one "PDF" link and another....
Personally I think that this is getting further and further away from
what I was trying to accomplish, namely lighter page weight balanced
with clarity.
Right now I'm thinking about making a page of PDF downloads, a page of
ZIP downloads, etc. Then having the filenames listed wouldn't be a
problem because they wouldn't be listed 3 times per page. Someone who
wants PDF for "document 1" probably will want it for "document 2" ...
and if they want Word instead they can click on the "Switch to Word"
link at the top & bottom of the page.
TjL
--
30 Days to becoming an Opera Lover
http://www.tntluoma.com/opera/lover/
Day Six: Images are Everything
http://www.tntluoma.com/opera/lover/day06-images/
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/