W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: CSS validity

From: David Dorward <david@dorward.me.uk>
Date: Mon, 12 Jul 2004 14:52:16 +0100
Message-Id: <AF7B55D8-D40A-11D8-9AD7-000A957E4F00@dorward.me.uk>
Cc: www-validator@w3.org
To: niko.holopainen@lomaosake.fi

On 12 Jul 2004, at 14:37, Niko Holopainen, Lomaosake.fi wrote:

> I'm sending this message due to getting accessibility validation 
> errors with CSE Validator

You should probably have a search of 
comp.infosystems.www.authoring.html for that tool. It isn't actually a 
validator.

> <a href="http://jigsaw.w3.org/css-validator/"><img 
> style="border:0;width:88px;height:31px" 
> src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" 
> /></a>
>
> The latter one causes accessibility validation errors since unlike the 
> first one, the image dimensions have been assigned with a style rule.

Validation, in the context of (X)HTML, refers specifically to its 
conformance to the DTD. The width and height attributes are distinctly 
optional. This is not a validation error.

> Thus my question is, what to do about it?

Either change the (X)HTML to use the attributes, or ignore CSE's 
warning. I'm not aware of any accessibility issues regarding specifying 
the width and height using CSS instead of (X)HTML, or of not specifying 
them at all. I don't believe WCAG makes any mention of them either.

> If I change the image code (simple enough) the image with the assorted 
> text won't be original/authentic

I'm not aware of any license restriction on the images provided by the 
validation service which demand they only be included using the 
specific (X)HTML the service outputs.


--
David Dorward
      <http://dorward.me.uk/>
<http://blog.dorward.me.uk/>
Received on Monday, 12 July 2004 09:52:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT