W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > March 2004

Re: [check 7] ALT text can't be empty (null or all spaces) if image is used as an anchor

From: Andrew Kirkpatrick <andrew_kirkpatrick@wgbh.org>
Date: Mon, 29 Mar 2004 12:34:31 -0500
To: Shane Anderson <Shane@cpd2.usu.edu>, chris.ridpath@utoronto.ca
Cc: w3c-wai-er-ig@w3.org
Message-id: <BC8DC857.27B1D%andrew_kirkpatrick@wgbh.org>

To clarify, this should be an empty anchor that contains an href attribute.

<a href="http://www.boston.com"></a> is valid, and in some cases will be
understandable to a screen reader user (as much so as <a
href="http://www.boston.com">http://www.boston.com</a> is).  However, this
won't be understandable for many URIs, such as what you see on a database
generated site, nor will they be accessible to sighted users, or easy to
locate for keyboard users.


On 3/29/04 12:32 PM, "Shane Anderson" <Shane@cpd2.usu.edu> wrote:

> hi all,
> I have a few questions about the anchor tag that arose from reading Chris'
> post.
> Why is an empty anchor tag considered an error? Is it because it is
> syntactically incorrect, or is it because some user agents do not use them
> correctly?
> Please include authoritative documentation in answering these questions, if
> possible.
> Thanks
> Shane Anderson
> Programmer Analyst
> Web Accessibility in Mind (WebAIM.org)
Received on Monday, 29 March 2004 12:36:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:35 UTC