Bug 235214 - AX: Rename AXDisabledStateChanged to the more accurate AXAriaDisabledChanged
Summary: AX: Rename AXDisabledStateChanged to the more accurate AXAriaDisabledChanged
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2022-01-13 17:38 PST by Tyler Wilcock
Modified: 2022-01-13 17:38 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Wilcock 2022-01-13 17:38:28 PST
We have a notification called AXDisabledStateChanged that is issued when the aria-disabled attribute changes. However, the disabled attribute can also cause this state change. I would like to rename AXDisabledStateChanged to AXAriaDisabledChanged so that we can be more granular in isolated tree updates. Specifically, in AccessibilityNodeObject::isEnabled(), when aria-disabled changes for an element, we'll need to invalidate AXPropertyName::IsEnabled for all descendants. The same work would not be required if the disabled attribute changed, so smashing both changes into AXDisabledStateChanged will cost performance.
Comment 1 Radar WebKit Bug Importer 2022-01-13 17:38:41 PST