W3C home > Mailing lists > Public > public-wai-ert@w3.org > July 2005

Re: Formalization of rule 91

From: Chris Ridpath <chris.ridpath@utoronto.ca>
Date: Mon, 4 Jul 2005 12:01:39 -0400
Message-ID: <019b01c580b1$a9c2f4a0$e29a968e@WILDDOG>
To: "Vicente Luque Centeno" <vlc@it.uc3m.es>
Cc: <public-wai-ert@w3.org>


> Saying something like: <input/> <a/> <label/> would not
> be acceptable. Focusable elements like "label" and "a"
> must not nest either.
>
I think it's OK to nest the 'label' and 'a' elements. Example:
<label for="B01"><a class="label" href="reservasB01.html" title="Resource 
#1's bookings">Resource #1</a></label>

This is valid XHTML strict. The label still looks and acts like a link. The 
label is explicitly associated with the control.

Do you see a problem with this?

Cheers,
Chris
Received on Monday, 4 July 2005 16:02:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:26 GMT