E-mail List Archives

Re: Accessible web forms: default text in edit boxes and text areas

for

From: Patrick H. Lauke
Date: Feb 24, 2005 4:37AM


jkorpela wrote:
> On the other hand, for input type="radio" and input type="checkbox",
> it is better to put the element inside the element.
> This makes the association better known to browsers (including IE) so
> that, for example, you can click on the label text to toggle the
> radio button or checkbox setting

maybe I'm missing something, but the behaviour you describe works
exactly the same way even if the input is outside the label, as long as
the input has been given a unique ID and the label's for attribute
points at it correctly.

--
Patrick H. Lauke
_____________________________________________________
re