Bug 273292 - AX: WebKit should not trim non-breaking space characters when computing accessibility text
Summary: AX: WebKit should not trim non-breaking space characters when computing acces...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tyler Wilcock
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-25 17:16 PDT by Tyler Wilcock
Modified: 2024-04-25 23:26 PDT (History)
9 users (show)

See Also:


Attachments
Patch (7.29 KB, patch)
2024-04-25 17:19 PDT, Tyler Wilcock
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].