WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: proper use of labels

for

From: Jim Thatcher
Date: Jun 15, 2005 11:06AM


Since you (Terrence Wood ) are calling ideas stupid I think
> wrap the label around the select and add a title to the select?
is a stupid idea.

Use of a title on the select menu is, from my testing, equivalent to the
process wrapping an invisible image in the label element to pick up the
alt-text. This is what IBM does on its search field. But I do like the title
attribute as it seems less of a hack. Adding a label element wrapped around
the select menu probably confuses a screen reader (I have not tested this
particular example) and should not be used.

Jim

Accessibility Consulting: http://jimthatcher.com/
512-306-0931