Formalization of rule 80

Hi,

Rule 80 [1] could be easily formalized saying:

//object[not(*)][string-length(normalize-text(text()))=0] = ()

PS: In other words, every object must have some children, otherwise some 
printable text.

PS2: There are over 60 formalized tests (using XPath and XQuery) at 
http://www.it.uc3m.es/vlc/wai/checks.xml .

[1] http://www.w3.org/WAI/GL/WCAG20/tests/test80.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 16:08:07 UTC