Form Control Status

screenshot of a web form
Figure 1 : Example of form with different types of form controls having respective status when interacted

Form controls such as checkboxes, radio buttons, disclosure widgets have different states. Therefore, it is necessary to inform all users about updates to the state of a control when the user interacts with the form controls.

The state information for form controls SHOULD be defined semantically. This ensures that the state information is available for all users.

NOTE:

  • New to accessibility or uncertain of requirements, it will be helpful to review all sections below.
  • Already familiar with requirements, skip to the “Working Example” section for sample HTML, CSS and JavaScript (when needed), along with a working demo.