W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2005

label tag question

From: Beheler Kim <beheler_kim@bah.com>
Date: Wed, 30 Mar 2005 14:31:43 -0500
Message-ID: <CD6921F5E4AC7842B574B14C4E48A8CB48425A@MCLNEXVS03.resource.ds.bah.com>
To: <w3c-wai-ig@w3.org>
Hi everyone, 

I am new to the list serve so I'm sorry if this question has already
been asked.  I have a textbox that is next to a input button.  It is
going to act as a search box and the button will perform the search.
Ex. <input name="filterId" value="" id="filterId" type="text" />  <input
name="submitSearch" value="Search" type="submit" />

To comply with Section 508, does the textbox need to be associated with
the button?  I know that normally when there is text next to an input
box there needs to be a label tag that associates the two.  For example:
<label for="fname">First Name </label> <input type="text"
name="firstname" id="fname">.  Will this work the same with a textbox
and button next to it?

 

Thanks in advance for your help,

Kim

 

 
Received on Wednesday, 30 March 2005 19:31:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:19 GMT