- From: Vicente Luque Centeno <vlc@it.uc3m.es>
- Date: Mon, 4 Jul 2005 19:28:35 +0200 (CEST)
- To: Chris Ridpath <chris.ridpath@utoronto.ca>
- Cc: public-wai-ert@w3.org
Received on Monday, 4 July 2005 17:28:40 UTC
* It does not validate in XHTML 1.1 (nor XHTML Basic). This is because focusable elements (elements that can receive user's focus), should not nest. You would not nest two links, would you? * Some browsers can not focus on the form field (they follow the link, but they don't focus user input on the form field). * Some other browers do that focus, but can't follow the link (I can't remember, but I experienced that on Explorer several years ago). Cheers. Vicente Luque Centeno Dep. Ingeniería Telemática Universidad Carlos III de Madrid http://www.it.uc3m.es/vlc On Mon, 4 Jul 2005, Chris Ridpath wrote: > >> 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 17:28:40 UTC