W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: [VE][127] New Error Message Suggestion

From: Tim Jackson <lists@timj.co.uk>
Date: Wed, 26 May 2004 21:23:10 +0100
To: Jim Booth <jim@jimmbooth.com>
Cc: www-validator@w3.org
Message-ID: <E1BT4ve-0001BO-SR@virt1.clust1.firecluster.net>

Hi Jim, on Wed, 26 May 2004 15:14:43 -0400 you wrote:

> It would really be nice to be able to turn this off, or if it worked 
> like so many other messages that it ONLY FLAGGED THE FIRST OCCURRANCE of
> " required attribute "ALT" not specified"   Today, I have a page with 
> dozens of gif bullets, which I don't think need alt attributes, but 
> validator flags every one!

If you really need graphical bullets using <img...> (and there's a good
chance you don't if it's for an unordered list; standard HTML <ul><li>...
combined with some simple CSS will allow you to customise the bullet
graphics *and* have properly structured HTML), then why not use alt="" on
them to indicate that they have no semantic meaning?

Adding an option to the validator to ignore these would not only be a bit
silly IMHO (it's a *validator* after all; options to make it ignore
certain kinds of invalidity rather defeat the object of it), but are also
addressing the symptoms (errors about invalid document parts) rather than
the problem (invalid document parts).

Received on Wednesday, 26 May 2004 16:23:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:41 UTC