W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2010

RE: high contrast and background images

From: Jonathan Avila <jon.avila@ssbbartgroup.com>
Date: Tue, 15 Jun 2010 12:39:49 -0400
Message-ID: <f650cf68e54aabef8c303fc4d634656c@mail.gmail.com>
To: ng@tjkdesign.com, w3c-wai-ig@w3.org
Thierry wrote:

"The image has no "footprint". Its width and height values are equal to 0
or
1, plus it has no alt text (alt=""). So imho it should be *ignored* by AT
and automated testing tool as well. Legacy documents are littered with
"spacer" images so I'd say it makes sense to ignore such small images
anyway. "

While the width and height attributes are 0 and 1, the images does have a
CSS width and height
h2 img{position:absolute;width:700px;height:202px}

More importantly I believe some automated tools get the width and height
from the image file properties rather than the DOM or HTML source code.
Additionally, while in this example the alt is null automated tools must
deal with developers who do not correctly set the alt attribute to null.

Jonathan
Received on Tuesday, 15 June 2010 16:40:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:34 GMT