Bug 273292

Summary: AX: WebKit should not trim non-breaking space characters when computing accessibility text
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, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Tyler Wilcock 2024-04-25 17:16:15 PDT
In https://bugs.webkit.org/show_bug.cgi?id=271896, we replaced usage of deprecatedIsSpaceOrNewline with isUnicodeWhitespace. Importantly, isUnicodeWhitespace trims non-breaking space characters, which is not the correct thing to do when computing accessibility text (we should only trim ASCII whitespace).
Comment 1 Radar WebKit Bug Importer 2024-04-25 17:16:25 PDT
<rdar://problem/127084721>
Comment 2 Tyler Wilcock 2024-04-25 17:19:09 PDT
Created attachment 471148 [details]
Patch
Comment 3 EWS 2024-04-25 23:26:08 PDT
Committed 278028@main (95e791e34021): <https://commits.webkit.org/278028@main>

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