WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Adding a label to search box

for

From: Helen A
Date: Apr 11, 2006 10:10AM


At 16:51 11/04/2006, Peter Weil wrote:
>Emma,
>It's the input box that needs the label. You can add something like
>this:
><div>
><label for="s">Search this Site</label>
><input type="text" name="s" id="s" />
><input type="submit" id="searchsubmit" value="Go!" /
></div>
>
>You can place the label just above the search box, or "hide" it
>with CSS if you prefer.
>Hope this helps,
>Peter

Thank you Peter!


--
Why doesn't life come with an Undo button?

www.livingwithwheels.co.uk