Bug 233790

Summary: AX: Make ellipsis-text.html, aria-roledescription.html, and aria-switch-checked.html pass in isolated tree mode
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
ews-feeder: commit-queue-
Patch none

Description Tyler Wilcock 2021-12-02 16:29:40 PST
aria-roledescription.html and aria-switch-checked.html must be made async to pass in isolated tree mode as they dynamically change page content using JS.

ellipsis-text.html can be made isolated-tree-friendly by selecting elements with accessibleElementById instead of:

document.getElementById("text-ellipsis").focus();
var textContainer = accessibilityController.focusedElement;
Comment 1 Radar WebKit Bug Importer 2021-12-02 16:29:58 PST
<rdar://problem/85994654>
Comment 2 Tyler Wilcock 2021-12-02 16:33:44 PST
Created attachment 445789 [details]
Patch
Comment 3 Tyler Wilcock 2021-12-03 08:10:46 PST
Need to upload a new patch. GTK has a different default role description, so my new version of aria-roledescription.html fails there.
Comment 4 Tyler Wilcock 2021-12-03 08:13:09 PST
Created attachment 445856 [details]
Patch
Comment 5 Tyler Wilcock 2021-12-03 14:43:42 PST
Created attachment 445903 [details]
Patch
Comment 6 EWS 2021-12-04 07:23:04 PST
Committed r286530 (244862@main): <https://commits.webkit.org/244862@main>

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