Bug 255576

Summary: AX: Spell check off the main thread.
Product: WebKit Reporter: Andres Gonzalez <andresg_22>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Andres Gonzalez 2023-04-17 19:58:34 PDT
Accessibility is using one of two methods to spell check text:

checkTextOfParagraph(*checker, text, TextCheckingType::Spelling, results, node->document().frame()->selection().selection());

or

node->document().editor().textChecker()->checkSpellingOfString(...)

and both require hitting the main thread, which goes against the goal of ITM.
Comment 1 Radar WebKit Bug Importer 2023-04-17 19:58:48 PDT
<rdar://problem/108174773>