Bug 243186

Summary: AX: ApplicationAccessibilityEnabled pref value is not synced from the UI process to web content process upon initialization
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, cfleizach, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Tyler Wilcock 2022-07-25 17:24:28 PDT
When initializing a new web process, the UI process should copy over the value of these prefs so web content has the correct state for them.
Comment 1 Radar WebKit Bug Importer 2022-07-25 17:24:39 PDT
<rdar://problem/97577824>
Comment 2 Tyler Wilcock 2022-07-25 17:30:41 PDT
rdar://97334840
Comment 3 Tyler Wilcock 2022-07-25 17:33:44 PDT
Created attachment 461207 [details]
Patch
Comment 4 chris fleizach 2022-07-25 17:42:00 PDT
Comment on attachment 461207 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=461207&action=review

> Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:1050
> +    if (preferences.accessibilityEnabled)

It seems like we might want to also set if it’s off
As in if the pref is written and then loaded the next time
Comment 5 Tyler Wilcock 2022-07-25 19:07:44 PDT
Created attachment 461210 [details]
Patch
Comment 6 EWS 2022-07-26 11:32:03 PDT
Committed 252837@main (b315e3a4cf18): <https://commits.webkit.org/252837@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 461210 [details].