Accessible Form Sample

This sample demonstrates the development of an accessible form using the FIELDSET, LEGEND and LABEL objects. The FIELDSET defines the container for the form and the LEGEND provides a name to the FIELDSET. Each control title makes use of the LABEL object and the FOR attribute. By clicking on a control label, the specified control is given focus. In addition to using LABEL, the ACCESSKEY attribute specifies an acceleration key to give the form focus. Each acceleration key is underlined in the label for easy identification.

To access the First Name field, you can either click on the text field, click on the label, use the TAB key, or press ALT-F.

Accessibility Form
LabelControl Range



© 1999 Microsoft Corporation. All rights reserved. Terms of use.