W3C home > Mailing lists > Public > www-validator@w3.org > June 2008

Suggestion re unnecessarily ambiguous and misleading GREEN (valid) result following unintentional Shorttag construct

From: Andy Williams <andrew23@gmail.com>
Date: Sat, 7 Jun 2008 16:18:19 +1200
Message-ID: <23d536df0806062118l268ae5e4pa660083c80800baa@mail.gmail.com>
To: www-validator@w3.org
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*
*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

<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.
A third colour  - perhaps orange, in keeping with traffic lights - for

Instead of

        <h2 class="*valid*">This Page Is Valid HTML 4.01 Strict!</h2>
        <td colspan="2" class="*valid*">
        Passed validation, <strong class="*has_warnings*">1

How about...
        <h2 class="*has_warnings*">This Page Is Valid HTML 4.01 Strict with
        <td colspan="2" class="*has_warnings*">
        Passed validation but with <strong class="*has_warnings*">1

building on the current classes in http://validator.w3.org/style/results.css

strong.has_warnings {
    background-color: #f60; /* Orange-Orange-Red */

Received on Saturday, 7 June 2008 04:18:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:56 UTC