WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Wrapping form elements in their explicit labels

for

From: Benjamin Hawkes-Lewis
Date: Jun 15, 2009 6:10PM


On 16/6/09 00:59, Oliver Boermans wrote:
> In my own testing I determined that the explicit association with
> 'for' and 'id' is necessary for some browsers (to ensure the labels
> are 'clickable').

And in order to guarantee assistive technology can associate them.

> But it seems that wrapping the form element in the
> label causes problems with screen readers and should be avoided?

Yes.

http://green-beast.com/blog/?p=254

--
Benjamin Hawkes-Lewis