LABEL and/or TITLE In Forms?

Hi Everyone,

We're writing  the HTML code for the forms of our website, and would like
some advice on how to best make the forms accessible.

What is the proper way to code a description for a form field?

Option 1:
<LABEL for="color">What is your favorite color?</LABEL>
<INPUT type="text" name="color"  id="color">

Option 2:
What is your favorite color?
<INPUT type="text" name="color" id="color" title="What is your favorite
color?>

Option 3:
<LABEL for="color">What is your favorite color?</LABEL>
<INPUT type="text" name="color" id="color" title="What is your favorite
color?>

...or something else?

Thanks so much for your help!

Warmly,
Hy
hy@miplet.com



Accessible Activities
P.O. Box 75581
Seattle, WA   98125-0581

Local Voice / Fax:  206-926-0269
Toll-Free Voice / Fax: 1-800-250-2124
_______________________________
Accessible Activities is a 501(c)(3), tax-exempt, charitable, non-profit
organization, incorporated in the State of Washington, USA.

Received on Wednesday, 13 March 2002 18:07:46 UTC