Forms
Accessible checkboxes: Examples and Testing
Published by whatisADA / Grow Wild Agency · Updated
What to build
Use a checkbox for an independently selectable choice. Associate its visible label and preserve the checked state across validation, navigation and other updates so the user remains in control.
A practical example
A preferences form offers separate options for product news and event invitations. Each can be chosen independently; changing one does not navigate away or silently change the other.
Try the example
Use Tab and your keyboard controls, then compare the behavior with the checks below. This is an isolated learning example; test the complete pattern in your own product and assistive technology setup.
How to check it
- Use Tab to focus and Space to toggle each checkbox.
- Select multiple options and verify independent state, label activation and persistence after an error.
- Read the control with a screen reader and check that its name and checked state agree with the visible form.
What can be missed
Do not store choices only as shared numeric scores. Distinct options need distinct values, even when their downstream weighting happens to match.
Markup and state contract
This concise markup illustrates names, relationships or state. Custom controls also need the keyboard interaction and state updates described in the checks and primary source; this snippet is not a complete component.
<label><input type="checkbox" name="updates" value="events"> Event invitations</label>Record your test
Use this worksheet to record what you actually checked. Notes stay on this device when you choose Save; they are not sent to us. Avoid personal or confidential information on shared devices.
These are your observations, not automated results or a conformance certificate. A complete evaluation needs appropriate scope, supported technologies, all applicable criteria and relevant page states.
Primary sources and scope
This is independent implementation guidance with original examples. The linked standard contains the full definitions, exceptions and conformance requirements. A criterion or checklist alone does not establish legal applicability or whole-site conformance.