W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2003

Re: label across /td

From: Matt May <mcmay@w3.org>
Date: Thu, 13 Feb 2003 14:06:07 -0800
Cc: Joe Clark <joeclark@joeclark.org>, WAI-IG <w3c-wai-ig@w3.org>
To: Aaron Smith <aaron@gwmicro.com>
Message-Id: <59DCB57A-3F9F-11D7-98D4-000393B628BC@w3.org>

On Thursday, February 13, 2003, at 01:09  PM, Aaron Smith wrote:
> Ideally, we will be able to retrieve the contents of the label and 
> apply it to the "associated" element regardless of what lies within 
> the label tag. But just to make sure I understand, are you proposing 
> that beginning and ending row tags might be inside of a label tag?

I'm sure Joe can clarify this himself, but I think the question was 
whether the labels would be associated properly in the context of code 
below. Would selecting the label move focus to the correct checkbox 
despite the label and the checkbox being in different cells:

<form>
<table>
<tr>
<td><label for="item1">Item 1</label></td>
<td><label for="item2">Item 2</label></td>
</tr>
<tr>
<td><input type="checkbox" name="item1" id="item1"></td>
<td><input type="checkbox" name="item2" id="item2"></td>
</tr>
</table>
...
</form>

> At 03:41 PM 2/13/2003, Joe Clark wrote:
>> Kwickie kwestion about use of the label element across the closing
>> tag of block-level elements, as </td><td>.

-
m
Received on Thursday, 13 February 2003 17:06:20 GMT

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