aria-pressed required on checkbox with role=button
Web Standard
Description
An input element with a type attribute whose value is checkbox and with a role attribute whose value is button must have an aria-pressed attribute.
Help
Applying role=button to an HTML checkbox creates an ARIA toggle button which must have an aria-pressed attribute.
Applicable standards
- ACT-Rules 4e8ab6
- ARIA
- WCAG 2.0 (Success Criteria: 4.1.2 level A)
- WCAG 2.1 (Success Criteria: 4.1.2 level A)
- WCAG 2.2 (Success Criteria: 4.1.2 level A)
- Section 508 (2017) (Success Criteria: 4.1.2 level A)
- Section 508 (2017) (Success Criteria: 4.1.2 level A)
- HTML5
Note: Section 508 Refresh (2017) checkpoints are equivalent to WCAG 2.0 level A and level AA checkpoints. EN 301 549 checkpoints are equivalent to WCAG 2.1 level A and level AA checkpoints.
Change history
- 6.59 Dec 2025 Added to W3 validator for ARIA 1.3.
This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.
Rule ID: W3cAriaPressedRequiredOnCheckboxButton