WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: alt="" vs alt=" "

for

From: Jim Thatcher
Date: Apr 7, 2002 6:51AM


Hi Kitzzy,

The mathematical (my background) answer to your question is that alt=""
(quote quote) is null or empty alt text, whereas alt=" " (quote space quote)
is alt text consisting of a string of characters of length one - a space
character, ASCII 32. The former is, in my opinion, the correct alternative
text for an image that conveys no information, null, empty. The latter
doesn't convey much information but it is not null and is not empty; it is
sort of sloppy and shows up like [] on the tool tip.
Jim
Accessibility Consulting
There's a new book on Web Accessibility. For information:
http://jimthatcher.com.

-----Original Message-----
From: Kitzzy Aviles [mailto: <EMAIL REMOVED> ]
Sent: Saturday, April 06, 2002 10:04 PM
To: <EMAIL REMOVED>
Subject: alt="" vs alt=" "


Hello,

I was wondering what is the main difference between using alt="" (no space
between quotes) or alt=" " (space between quotes)? Is there one? Is one
better to use than the other? I have searched the archive and the WebAIM
website and could not find a reason for why one is better than the othe