W3C home > Mailing lists > Public > www-validator@w3.org > June 2008

label for association

From: alun <a.jones@hccnet.nl>
Date: Sun, 01 Jun 2008 15:36:30 +0200
Message-ID: <4842A5DE.4020802@hccnet.nl>
To: www-validator@w3.org
This error/warning is not caught.
The /for/ associated /id/ is incorrectly placed in the *label* or *other 
element* and not in a control.
 
<label for="foo" id="foo"><input type="text"></label>

http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1

None of the validators catch this, although it will be corrected in the 
next release of Total Validator.


Regards,
Alun Jones
Received on Sunday, 1 June 2008 13:37:08 GMT

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