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

[VE][127] Validator offers values for 'type' attribute, but missing one is 'alt'

From: Basil Peace <grv87@yandex.ru>
Date: Sat, 26 May 2012 00:34:36 +0400
To: <www-validator@w3.org>
Message-ID: <000601cd3ab5$ccfebab0$66fc3010$@yandex.ru>
Validating  <http://matcalc.ru/> http://matcalc.ru/ 
Error [127]: "required attribute X not specified" 

In this case, alt attribute for img isn't specified, but message offers:

Typical values for type are type="text/css" for <style> and
type="text/javascript" for <script>.

 

If it is common message for any missing attribute, it is good to remove it
at all, since it only confuses.

Also, I want to note that text/javascript is obsolete for already a couple
of years, since RFC4329. If validator offers value for type attribute, it
should offer application/javascript.

 

Best regards,

Basil Peace
Received on Saturday, 26 May 2012 14:57:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 26 May 2012 14:57:28 GMT