W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2003

HTML techniques - labelling form controls (no blocker)

From: Yvette P. Hoitink <y.p.hoitink@heritas.nl>
Date: Fri, 31 Oct 2003 17:26:17 +0100
To: <w3c-wai-gl@w3.org>
Message-Id: <E1AFc6M-0002P0-NO@smtp4.home.nl>

In the HTML techniques document, there is a technique called labeling form
controls:
<http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-HTML-TECHS-20031020.html#label>

This technique explicitely associates labels with their form elements using
the for attribute. However, in the example, both the name and the id of the
form control are the same, which makes it impossible for a reader to see
which of the two attributes the for-attribute refers to. Perhaps the name of
the form element can be changed to something different to it's clear that
the for-attribute of the label refers to the id-element of the form control.
I think it would be best to explain this in text as well ("The value of the
for-attribute must be the same as the id of the form element the label
refers to" or something like that).


Yvette Hoitink
CEO Heritas, Enschede, The Netherlands
Received on Friday, 31 October 2003 11:26:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:26 GMT