Disabled
An HTML element is disabled if one of the following condition is true:
- it matches the
:disabled
pseudo-class; or - it has an inclusive ancestor in the accessibility tree with an
aria-disabled
attribute set totrue
.
Assumption
This definition assumes that elements with aria-disabled
set to true
are effectively disabled (e.g. by preventing pointers and keyboard events).