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

Re: Error checking attribute ALT

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 07 May 2009 07:45:12 +0200
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, "MaX Milovanoff" <m-x-m@mail.ru>, www-validator@w3.org
Message-ID: <op.utjoxmqc64w2qv@annevk-t60>
On Wed, 06 May 2009 22:21:54 +0200, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> Anne van Kesteren wrote:
>> You can only use the alt attribute on <input> if the type
>> attribute specifies image.
>
> That's something that a wannabe excuse for a draft of a specification  
> wants to say. According to DTDs in published specifications, no such  
> restriction is possible. It's also a restriction that published HTML  
> specifications do not make in prose.

It is the reason however, that the validator gives that message, as far as I can tell.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 7 May 2009 05:53:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:35 GMT