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

Re: nbsp ok for decorative alt?

From: Gez Lemon <gez.lemon@gmail.com>
Date: Mon, 10 Apr 2006 14:57:13 +0100
Message-ID: <e2a28a920604100657o6a3bbabbie788b178fc580eb@mail.gmail.com>
To: "Gregg Vanderheiden" <gv@trace.wisc.edu>
Cc: w3c-wai-gl@w3.org

Hi Gregg,

I'm with everyone else that &nbsp; shouldn't be allowed for null alt
text. I was making the point that &nbsp; is presentational, but John
and Andrew's explanation of why it shouldn't be allowed is more
appropriate.

Best regards,

Gez

On 10/04/06, Gregg Vanderheiden <gv@trace.wisc.edu> wrote:
>
> 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
>
>
>


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

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