W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

Re: Tidy Request

From: Michael Nahrath <subotnik@gmx.de>
Date: Fri, 01 Oct 1999 01:49:04 +0200
Message-Id: <199909302351.BAA28017@mail.rz>
To: jelks@jelks.nu, html-tidy@w3.org
> 1)  If there is no ALT attribute for an image, have Tidy put in an 'alt=""'.
> (Note: this might cause some people problems, since they might want omitted
> to be flagged by a validator as a reminder for "Whoops, you forgot to put in
> alternate text".  So perhaps it should be a configurable option:
> "empty-alt-attributes: yes" or some such.)

alt=""  _is_ the correct alternate-text for an img that is only
presentational. If the Image is a spacer  alt=" "  may be more adequate, if
it is a dot maybe  alt="*"  is better.

It _is_ important to make meaningless images unseen in a text-only browser,
otherwise it would show an  [image] or [spacer.gif] for each spacer.

And: <img ...> without alt is not valid html 4.0.

Greeting, Michi
wir feiern ein Liebesfest            und draussen ist Krieg
wir vergessen was um uns ist         es gibt uns doch nur den Rest
wir machen lieber die Augen zu       wir machen lieber die Augen zu ...
(SPLIFF 1982)
Received on Thursday, 30 September 1999 19:52:27 UTC

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