Re: Question on labels

Charles McCathieNevile wrote:

>I wondered why there is a label used to identify the form controls 
>such as the search field which does not provide any actual 
>labelling, just an accesskey which could be attached directly to the 
>form control in question?

Thanks for the idea, Charles. The labels were added in revision 4.716
when the tables were removed in favor of CSS. It's been a while but
think I copied them from WDG. Did I get them wrong?


     <INPUT TYPE=checkbox NAME=save VALUE=yes>
     Save user name and password in a cookie

Does this look better?

<form method="get" action="">
<div><a class="navlink" href=""><img
src="Icons/Logo_25wht.gif" width="75" height="32"
alt="Google" /></a><br />
<input type="text" accesskey="E" size="15" tabindex="1"
id="inputField" name="q" maxlength="255" value="Search W3C" />
<input type="submit" accesskey="G" value="Go" tabindex="2"
id="goButton" name="sa" /><br />
<input type="hidden" name="cof"
<input type="hidden" id="searchW3C" name="sitesearch" checked="checked"
value="" /><input type="hidden" name="domains"
value="" /></div>

Susan Lesch                tel:+1.858.483.4819
World Wide Web Consortium (W3C)

Received on Thursday, 5 June 2003 21:02:55 UTC