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.