We detected a disabled checkbox without a matching disabled state
| Field | Value |
|---|---|
| Rule code | Manual_Checkbox_Disabled_Missing |
| WCAG conformance level | A |
| WCAG success criterion | 4.1.2 Name, Role, Value |
| Must be fixed at source | No |
Description
When a checkbox is visually presented as disabled, it must also be programmatically disabled to ensure consistency between its visual appearance and functionality. A mismatch can confuse users of assistive technologies, who may attempt to interact with elements that appear functional but do not respond as expected.
How to fix
When a checkbox is visually styled to appear disabled, ensure that it also has the disabled attribute or the aria-disabled attribute set to true, so that the checkbox is recognized as non-activatable.