WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: "<label>" for search field


From: Jared Smith
Date: May 18, 2010 7:18AM

On Tue, May 18, 2010 at 3:24 AM, < <EMAIL REMOVED> > wrote:

> Even if we evaluate the page in automated testing tools such as web AIM's Wave tool, we encounter an accessibility error if we don't provide label for form elements.

WAVE displays an error if you provide neither a label nor a title
attribute. If you have no label, but do have a title attribute, WAVE
displays an alert (not an error) that prompts you to ensure that the
title attribute is descriptive and appropriate. It is one of the few
accessibility tools that makes this allowance.