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

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 UTC