W3C home > Mailing lists > Public > public-wai-ert@w3.org > June 2005

Formalization of rule 58

From: Vicente Luque Centeno <vlc@it.uc3m.es>
Date: Sat, 25 Jun 2005 17:59:28 +0200 (CEST)
To: public-wai-ert@w3.org
Message-ID: <Pine.LNX.4.61.0506251752250.7383@violin.it.uc3m.es>

Hi,

Rule 58 [1] seems not to be complete. It says that all inputs whose type 
is "image" should have an alt attribute, but it should also say that all 
inputs whose type is different from "image" must not have an alt 
attribute.

In other words:

//input[@type="image"][not(@alt)] = ()

but also

//input[@type!="image"][@alt] = ()

Should it be a different test?

[1] http://www.w3.org/WAI/GL/WCAG20/tests/test58.html

Vicente Luque Centeno
Dep. Ingeniería Telemática
Universidad Carlos III de Madrid
http://www.it.uc3m.es/vlc
Received on Saturday, 25 June 2005 15:59:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:26 GMT