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

Re: Formalization of rule 91

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
Message-ID: <Pine.LNX.4.61.0507041921430.23775@violin.it.uc3m.es>

* 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).


Vicente Luque Centeno
Dep. Ingeniería Telemática
Universidad Carlos III de Madrid

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:53 UTC