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.


Missing aria-expanded:

This button for an expandable "menu" lacks an aria-expanded attribute:


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

axe detected: none  |  QualWeb detected: none