WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Null or empty ALT attribute?

for

From: Glenda
Date: Jun 10, 2005 3:36PM


Ok. So when would someone use an empty ALT or would they?

Glenda Watson Hyatt, Principal
Soaring Eagle Communications
Accessible websites. Accessible content. Accessible solutions.
www.webaccessibility.biz


-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ]On Behalf Of pixeldiva
Sent: Friday, June 10, 2005 2:10 PM
To: <EMAIL REMOVED> ; WebAIM Discussion List
Subject: Re: [WebAIM] Null or empty ALT attribute?


On 10/06/05, Glenda < <EMAIL REMOVED> > wrote:
> Just checking current best practices:
>
> Is the preferred term "null ALT" or "'empty ALT"? And is there a space
> between the quotes [ALT="" OR ALT=" "]? I have seen it both ways and
> curious if there is a consensus yet.

They're two different things. Null is alt="". Empty is alt=" ". Both
are acceptable for decorative images because screen readers ignore
them, although null is preferable, because it won't cause an empty
"tooltip" to pop up on mouseover.

pix
http://www.pixeldiva.co.uk




--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.7 - Release Date: 6/10/05

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.7 - Release Date: 6/10/05