W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2006

Re: a single label where multiple fields follow

From: David Dorward <david@dorward.me.uk>
Date: Thu, 21 Sep 2006 14:52:22 +0100
To: w3c-wai-ig@w3.org
Message-ID: <20060921135222.GB17122@us-lot.org>

On Thu, Sep 21, 2006 at 02:44:54PM +0100, Paul Collins wrote:
>    Could you wrap the label around all of the inputs?
>    <label>text here<input 1><input 2><input 3></label>
>    A guess only

No.

   To associate a label with another control implicitly, the control
   element must be within the contents of the LABEL element. In this
   case, the LABEL may only contain one control element.

http://www.w3.org/TR/html4/interact/forms.html#h-17.9

-- 
David Dorward                                      http://dorward.me.uk
Received on Thursday, 21 September 2006 13:52:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:25 GMT