WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is use of <label> and title redundant?

for

From: Angela French
Date: Nov 13, 2012 9:31AM


The context of my question is a search field. One rarely sees the search field actually labeled (at least on screen). The text on the button reads "Search" and is therefore meant to convey the functionality. But of course the button follows the form field.

Angela French

: Re: [WebAIM] Is use of <label> and title redundant?
>
>As per WCAG2 techniques, title on form controls should be used when visible
>label is not present ... i.e. when purpose of form control is obvious generally
>to sighted users / as per UI design.
>(If purpose is not obvious visually, then the fix is to incorporate a visual text
>label for the benefit of all users).
>
>Using title in these situations mainly to convey purpose of control to non-
>sighted users is well supported by browsers and AT, both recent and legacy
>ones.
>Title is also available via mouseover to some sighted users who might need
>them.
>I do not recommend using off-screen label: it is more work and code and not
>available to anyone except screen reader / magnification users unless CSS is
>turned off.
>Sailesh Panchang
>Deque Systems
>