Main content

Alert message

  • Associate labels explicitly with their controls.
  • It is best to also always ensure that the label is properly positioned.

Try it.

Try it with Jaws. Reposition prompts immediately to left of or above the input fields and listen again.

Form where prompts should be repositioned (and labeled).

Name
 
Address

Syntax for adding LABEL to form controls

<label for="Name1"> Name</label> - this is the label tag

<input name= "Name" id="Name1" size="30" > - this is the form control tag

be sure that contents of "for=" is identical (including case) to "id="

Try it:

Try this form with JAWS; then add the label elements and try it again.

Form without labels
City:
Address:
   

Return

Hands-On Navigation

Here is the list of links to Hands-On examples.