WebAIM - Web Accessibility In Mind

E-mail List Archives

"<label>" for search field

for

From: Langum, Michael J
Date: May 17, 2010 1:51PM


Our designers don't like the idea of the word "Search" just before our standard site "search" field. They feel that for sighted users, the placement just above the words "Advanced Search" in the upper right corner of the standard site-wide banner is a clear enough. And the use of "title" attribute in the actual <input> tag is good enough for screen reader users.

What is the groups thinking on the adequacy of relying solely on "title" attributes to give a prompt for the standard site search field?
<form action="search.asp" method="GET" name="gs" id="SearchForm">
<input name="q" id="q" title="Search the OPM Site" size="26" type="text">
<input type="submit" name="Submit" value="Go">
</form>

-- Mike