Forms

Forms have several unique issues that require careful attention. The information in this section is intended to provide support for some common issues that arise when developing accessible forms.

If forms are designed using native semantic HTML, many specific issues will be addressed by the browser and will not require customized interventions. Ensuring that all form elements can be used by keyboard alone according to users' expectations is an example of an issue addressed by native semantic HTML.

Labels, hint text, and error messages need to be programmatically associated with their inputs. This ensures that all user agents (including assistive technologies) can correctly interpret the intended design of the form and convey it to all users.

When there is an error in the form, clear error messages assist the user in understanding where the error is and how to recover from it.

In this section: