|
Forms and ADA compliance You need to associate
form controls and their labels with the LABEL
element. The FIELDSET
element allows grouping of related controls, which makes the form
easier for the user to understand. A FIELDSET
must have a LEGEND. The LEGEND
provides a caption for the FIELDSET. <LABEL
for="name">Name:</LABEL>
<P> <P> <LABEL
FOR="com">Comments:</LABEL>
</FORM> Please note that the "reset", "submit" and image buttons do not need labels, because they already have labels associated with the "value" attribute or the "alt" text for image buttons. This method of coding allows the browser to tell the user which label applies to a given control. Generally, clicking on the label will position the cursor in the form field, or toggle the value of radio buttons or check boxes. This provides a larger target for the mouse. Here is the form encoded above
Its the small things....
It is currently suggested
that a FIELDSET be enclosed in a set of paragraph tags <P>....</P>.
Be certain that the previous P tag is closed with </P>. You may notice that the textboxes have an initial value, as well as the radio buttons and checkboxes. This is suggested as good practice. Also, please note
that the use of color on this page does not satisfy the Section 508 condition
of structuring information via the use of color. |