Loading
Bug 1833079: When notified about a dom::ElementState::INVALID change, let...
Bug 1833079: When notified about a dom::ElementState::INVALID change, let AccStateChangeEvent calculate whether the state is enabled. r=morgan a=pascalc Previously, we passed true for aIsEnabled, indicating that the state was only ever enabled, never disabled. We could get the actual enabled value here using dom::ElementState::HasState(), but that wouldn't take aria-invalid into account if present. Instead, we let AccStateChangeEvent calculate it by calling Accessible::State(). Differential Revision: https://phabricator.services.mozilla.com/D178039