[VE][127] New Error Message Suggestion

Hello W3C validator people,

I think that the <script language="javascript"> is sooooo common on the
web that you should design a message just for it. How about this:

{{
Line kkk, column mm: required attribute "type" not specified

<script language="javascript"> or <script>

The attribute "type" is required for the "script" element that you've
used, but you have omitted it.

A typical value for type is type="text/javascript" for <script>.

<link> for more explanations, hints pointing to another file
<link> reference to the HTML 4.01 spec.
http://www.w3.org/TR/html401/interact/scripts.html#adef-type-SCRIPT
}}

Whenever possible, the validator message should EXPLAIN the direct,
concrete benefit(s) (quantitatively or qualitatively speaking) of
correcting a validation error: words should be clearly directed to the
web author. E.g.: not specifying the content-type of the script language
may do a, b and c and may not do d, e and f in this or that browser.

DU

Received on Tuesday, 1 June 2004 22:55:10 UTC