W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2006

RE: nbsp ok for decorative alt?

From: Gregg Vanderheiden <gv@trace.wisc.edu>
Date: Mon, 10 Apr 2006 08:45:10 -0500
To: <w3c-wai-gl@w3.org>
Message-ID: <005101c65ca4$fce9a3c0$ee8cfea9@NC6000BAK>

Hi Gez, Andrew, Johannes, 

Sorry

First - yes I meant  "&nbsp;"  (I have been typing in the WIKI too long)

Second - let me rephrase the question better.

Our technique currently says

ALT="" is preferred 
ALT=" " is acceptable but not preferred
ALT="&nbsp;"  is not.

Michael said "why is "&nbsp;" not acceptable if " " is acceptable.  

I think we were trying to reduce the number of options but allow ALT=" " due
to past and current Web content.  And might be easier to get some GUI tools
to actually put the ALT attribute in.  (having some content causes it to be
added).   (and I think we may even have told people to use ALT=" " at some
point.)

So the question is 

Should we also allow  "&nbsp;" ?  

Gez - were you saying 'yes'? 
Johannes, Andrew, John,   I logged your answers as being 'no'.

Do we want to continue to allow " " to make it easy to force tools to put
the ALT in without people having to know how to hand doctor their code?
(Hopefully - all tools will have a means for forcing a null ALT="" someday.)



Gregg

 -- ------------------------------ 
Gregg C Vanderheiden Ph.D. 
Professor - Ind. Engr. & BioMed Engr.
Director - Trace R & D Center 
University of Wisconsin-Madison 
The Player for my DSS sound file is at http://tinyurl.com/dho6b 

-----Original Message-----
From: Gez Lemon [mailto:gez.lemon@gmail.com] 
Sent: Monday, April 10, 2006 6:22 AM
To: Gregg Vanderheiden
Cc: w3c-wai-gl@w3.org
Subject: Re: nbsp ok for decorative alt?

Hi Gregg,

On 10/04/06, Gregg Vanderheiden <gv@trace.wisc.edu> wrote:
<quote>
We had a technique that said

ALT="" and  ALT=" " were ok

but ALT=&amp;nbsp; was not.

But this has recently been questioned.  We need to decide on this one.

Is ALT=&amp;nbsp;  OK? Or not?
</quote>

&nbsp; is a presentational character entity. img {white-space: pre;} in CSS
would achieve the same result.

Best regards,

Gez
--
_____________________________
Supplement your vitamins
http://juicystudio.com
Received on Monday, 10 April 2006 13:45:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:45 GMT