- From: Andy Williams <andrew23@gmail.com>
- Date: Sat, 7 Jun 2008 16:18:19 +1200
- To: www-validator@w3.org
- Message-ID: <23d536df0806062118l268ae5e4pa660083c80800baa@mail.gmail.com>
Hi there,
First time poster to this address hoping that I'm sending this message to
the right place...
I have been motivated to write by what I regard as an *unnecessarily*
*ambiguous
*and *misleading* green icon AND accompanying message - both of which
indicate (to the less-than-eagle-eyed) a *wholly *VALID result - i.e. the
current scheme has (I assume) no means of conveying (visually) a distinction
between a wholly valid result and a warning, such as the one that fired when
I omitted to close an img tag nested with an anchor tag
E.G.
<a href="http://www.example.com" title="lorem"> <img
src="dir/filename.ext" alt="ipsum"</a>
instead of
<a href="http://www.example.com" title="lorem"> <img
src="dir/filename.ext" alt="ipsum"></a>
>
>
> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.example.com%2Ffilename.html
>
> The construct <foo<bar> is valid in HTML (it is an example of the rather
> obscure "Shorttags" feature) but its use is not recommended<http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7>.
> In most cases, this is a typo that you will want to fix. If you really want
> to use shorttags, be aware that they are not well implemented by browsers.
>
*Suggestion:
*
A third colour - perhaps orange, in keeping with traffic lights - for
warnings:
Instead of
<h2 class="*valid*">This Page Is Valid HTML 4.01 Strict!</h2>
and
<td colspan="2" class="*valid*">
Passed validation, <strong class="*has_warnings*">1
warning(s)</strong>
</td>
How about...
<h2 class="*has_warnings*">This Page Is Valid HTML 4.01 Strict with
Warning(s)!</h2>
and
<td colspan="2" class="*has_warnings*">
Passed validation but with <strong class="*has_warnings*">1
warning(s)</strong>
</td>
building on the current classes in http://validator.w3.org/style/results.css
strong.has_warnings {
font-weight:bold;
color:#000;
background-color: #f60; /* Orange-Orange-Red */
}
Cheers
Andy
Received on Saturday, 7 June 2008 04:18:57 UTC