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