3.19 Include default text in form text boxes
Contents
WAI checkpoint 10.4
Full WAI text: "Until user agents handle empty controls correctly, include default, place-holding characters in edit boxes and text areas."
A control is part of a form. There are different types of controls, including edit boxes and text areas, which are types of form fields that are used to input text information such as postal details, phone numbers, etc. These form fields are often displayed as empty fields but should really contain some helpful text to provide users with a prompt to help them understand the purpose of the form field. Drop-down menus and scrolling lists should include this information as the first option on the list. Radio buttons should have an option selected.A user agent is a piece of software for accessing Web content. User agents could be desktop graphical browsers, text browsers, voice browsers, mobile phones, multimedia players, plug-ins, and some software assistive technologies used in conjunction with browsers such as screen readers, screen magnifiers, and voice recognition software.Not all user agents can cope with empty form fields and until such time as they do, you should include default characters.
Rationale
Some user agents will not recognise empty form controls and will pass over them. This disorientates users, making it impossible to fill out forms. A screen reader would probably receive an error message if they tried to submit the contents of such a form. Mobile devices may also fail to cope with empty form fields.
Directions and Techniques
Use the correct HTML to put default place-holding characters in text areas
See WAI recommended techniques for assigning default characters in edit boxes and text areas. See CAST's reccomendations on coding edit boxes, text areas, drop selection lists and radio buttons.
How you could check for this:
Check forms for empty form fields
Open any page with a form and look for empty fields, unselected radio buttons and drop down menus with no default option.
