Skip to Main Content
Skip to Sub-navigation
Information Resources & Communications

Web Accessibility at the University of California

Label elements in forms for use by assistive technology

The Challenge
Online forms are useful for conducting a variety of transactions on the Web, such as purchasing goods, registering for conferences, and completing surveys. When sighted people read a form, they can visually tell that labels and input elements (e.g., text field, radio button, check box) are associated. Thus, they know what boxes to check and fields to complete. People who use assistive technology, though, need the screen reader to associate labels with input elements for them. If the input elements aren't labeled appropriately, the user may complete the wrong field or be unable to access the form at all.

Solutions
Programmatically link the label to the input element so that the screen reader, or assistive technology, associates the two items.

Example:
     :
The label, "Name (first and last name)," needs to be programmatically associated with the text field.

Additional Information


Please submit your questions, comments, and suggestions at feedback.html