E-mail List Archives
Re: Accessible web forms: default text in edit boxes and text areas
From: Tim Beadle
Date: Feb 23, 2005 5:55AM
- Next message: Jukka K. Korpela: "Re: Accessible web forms: default text in edit boxes and text areas"
- Previous message: Jukka K. Korpela: "Re: Accessible web forms: default text in edit boxes and text areas"
- Next message in Thread: Jukka K. Korpela: "Re: Accessible web forms: default text in edit boxes and text areas"
- Previous message in Thread: None
- View all messages in this Thread
"jkorpela" < <EMAIL REMOVED> > wrote
on 23/02/2005 12:07:18:
> On the other hand, for input type="radio" and input type="checkbox",
> it is better to put the <input> element inside the <label>
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 - an important feature to people
> with motoric disabilities or a poor mouse, since the radion button
> or checkbox is fairly small.
Does IE ignore the "for" attribute, then?
I thought that having an adjacent label with a for
attribute, and a unique id on the form element, was enough to make the
label clickable and give focus to the form element. The above works in
Mozilla-based browsers.
Regards,
Tim
Institute of Physics
Registered charity No. 293851
76 Portland Place, London, W1B 1NT, England
IOP Publishing Limited
Registered in England under Registration No 467514.
Registered Office: Dirac House, Temple Back, Bristol BS1 6BE England
This e-mail message has been checked for the presence of computer viruses.
- Next message: Jukka K. Korpela: "Re: Accessible web forms: default text in edit boxes and text areas"
- Previous message: Jukka K. Korpela: "Re: Accessible web forms: default text in edit boxes and text areas"
- Next message in Thread: Jukka K. Korpela: "Re: Accessible web forms: default text in edit boxes and text areas"
- Previous message in Thread: None
- View all messages in this Thread