label tag question

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 UTC