WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Hidden Labels

for

From: Christian Heilmann
Date: Mar 2, 2007 3:20PM


> I have a form with a label describing a select, but then I hide the
> label with CSS (display: none;) since its pretty obvious what the
> select does. It validates fine with the WAVE tool, but was wondering
> if any one had any thoughts about this being bad from an
> accessibility point of view.

Yes, as hiding with display:none also hides the label from assistive
technology. The idea of a label is that it describes the data, the
idea of a select to offer choices. The description should not be a
choice.


--
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/