Skip to main content

Associate labels with editable fields on forms.

 

Rationale

Labels for editable fields such as text fields, checkboxes and radio buttons must be explicitly associated to ensure that assistive technologies can communicate the purpose of the field to a user. If the labels are not associated programmatically, screen readers cannot "see" the label next to the input field and will only say "edit" when the user tabs to the control. Someone using a screen reader will not know how to fill in the field.

Development techniques

The following techniques are the minimum required to meet Checkpoint 5.2 from the Lotus Notes Application Accessibility Checklist:

The techniques for associating labels with fields vary based on whether the application will be deployed on the Web or only via the Notes Client. Techniques for both types of applications are defined below.

Notes client applications

Notes client applications must identify the form labels using HTML Title and provide field level help for all editable form fields using the following techniques:

Domino applications

Domino applications must identify the form labels using HTML Title and manually add the LABEL element using pass-thru HTML using the following techniques:

Recommended techniques

The techniques above are required; the following techniques are recommended to enhance accessibility:


Testing techniques

Test the Web site to ensure that it complies with accessibility requirements.

Tools

Install the following tools to test this checkpoint:

Techniques

The following techniques are required to verify this checkpoint:
  Action Result
1. Manually test the Notes client application to verify the help descriptions are meaningful.

Pass:


Fail:
2. After you have tested for the presence of meaningful field help, test the Notes client application with a screen reader to verify label text is accessible through HTML title.

Pass:


Fail:
3. This step is required only if the screen reader above failed to read a field label.
Press Tab to reach each field for which the screen reader did not read the label, and verify that the "Name" parameter in the Inspect Objects output provides information that is equivalent to the visible label for the field.
Pass:


Fail:
4. This step applies only if the application uses the Web interface.

Test each page of the application with a Web checking tool to verify that the LABEL element has been defined for all editable and visible fields.
Pass/Fail:

See documentation for your Web checking tool to test accessibility of form fields.
5. This step applies only if the application uses the Web interface.
Read the page with a screen reader.
Verify the screen reader announces labels for input fields, text areas, and select menus.
Pass:


Fail:


©2001, 2008 IBM Corporation

Last updated February 08, 2008.