Re: Formalization of rule 58

Hi Vicente,

I think the current test 58 is correct. There's no need to go further and 
specify that other types of input elements can not have an alt attribute 
because it is not an accessibility problem if they do.

Cheers,
Chris

----- Original Message ----- 
From: "Vicente Luque Centeno" <vlc@it.uc3m.es>
To: <public-wai-ert@w3.org>
Sent: Saturday, June 25, 2005 11:59 AM
Subject: Formalization of rule 58



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 Monday, 4 July 2005 14:08:23 UTC