WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: labeling search box

for

From: Jim Thatcher
Date: Jul 10, 2003 10:34AM


Why use a hack when there is already a GOOD label there? And my other
suggestion, the title attribute, is recognized by AT (i.e., screen readers)
and appears on mouse over. Hello!

Jim
508 Web Accessibility Tutorial http://jimthatcher.com/webcourse1.htm.
"Constructing Accessible Web Sites:" http://jimthatcher.com/news.htm

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ]
Sent: Thursday, July 10, 2003 10:06 AM
To: <EMAIL REMOVED>
Subject: RE: labeling search box

> However, I've found that doing this make the words in the
> label tag appear
> on the page. For example, using the code above, "Search The
> Site" appears
> before the textbox).

What about ...

label.submit {color: transparent}

<label class="submit">This text is transparent to the
background</label><input type="submit">


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/



----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/