State change detection (state-changes)

User interface components with changing states (e.g. checkboxes) include properties such as aria-checked, aria-selected or aria-expanded.

Actual checkboxes, as in <input type="checkbox"> elements, do not require an aria-checked attribute.

Missing aria-checked attribute:

This custom checkbox lacks an aria-checked attribute:

Note: Possible to automatically test. Can be done by programmatically checking if elements with roles such as "checkbox" have an aria-checked attribute. However, automatically figuring out if an aria-checked attribute is necessary might require a human tester/AI.

axe detected: 4.1.2  |  QualWeb detected: 4.1.2