Bug 235214

Summary: AX: Rename AXDisabledStateChanged to the more accurate AXAriaDisabledChanged
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
<rdar://problem/87580094>