Prompt control labels
You can associate labels to prompt controls
to make the prompts accessible.
There are several methods that you can use to associate a label to a prompt control:
- Associate a text item to the prompt control.
- Insert the prompt control in a field set and use the caption of the field set to specify the label.
- Use HTML items to define a field set.
When a text item is associated to a prompt control, the text is read by screen readers when users tab to the control. When a prompt control is inserted in a field set, screen readers read the label of the field set when the focus moves to any input element within the field set.