W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Re: TIDY - Objects to euro symbol (?) & very pedestrian about ALT for gifs

From: Peter Evans <evans@i.hosei.ac.jp>
Date: Sun, 30 Apr 2000 13:19:28 +0900
To: html-tidy@w3.org
Message-Id: <20000430130919.338D.EVANS@i.hosei.ac.jp>
>It is generally safe to assume that single-pixel height
>or width images are either transparent or purely decorative
>and thus can be provided with alt="" if an alt attribute
>is absent.

First, I can't see how alt="" can be an improvement over no alt at all.
It seems to me that you'd (or the program would) be adding seven bytes
for no purpose whatever.  (But see below!)

Secondly, I thought these single-byte GIFfies were often used in stretched
form. If so, height and width could be considerable.

I'd suggest having Tidy add alt="" to any alt-less image.  Then the
webmeister could (i) go through the resulting file, adding the text
between the quotation marks where appropriate, and then (ii) zap all
remaining examples of alt="". (Perhaps this is what Tidy already does;
I don't know, because adding alt="explanation" to my graphics is one of
the few things I manage to do consistently and competently without
Tidy's help.)

Peter Evans mailto:evans@i.hosei.ac.jp
Received on Sunday, 30 April 2000 00:24:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC