[Bug 1478] New: Icon code on XHTML 1.0 Strict results page is *not* valid XHTML 1.0 Strict!

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1478

           Summary: Icon code on XHTML 1.0 Strict results page is *not*
                    valid XHTML 1.0 Strict!
           Product: Validator
           Version: 0.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Website
        AssignedTo: ot@w3.org
        ReportedBy: ddawson@icehouse.net
         QAContact: www-validator-cvs@w3.org


After validating a page as XHTML 1.0 Strict, I see the following code for
displaying an icon indicating the page is valid XHTML 1.0:

<p>
  <a href="http://validator.w3.org/check?uri=referer"><img
      src="http://www.w3.org/Icons/valid-xhtml10"
      alt="Valid XHTML 1.0!" height="31" width="88" /></a>
</p>

Ironically, its use of presentational attributes means this code will cause a
page to be invalid. You should provide a version of this without those
attributes when validating XHTML Strict (and, I suppose, an equivalent for HTML
Strict).

Received on Thursday, 19 May 2005 22:43:04 UTC