Bug 287124

Summary: AX: attributed string for range truncated for list items
Product: WebKit Reporter: Dominic Mazzoni <dm_mazzoni>
Component: AccessibilityAssignee: Dominic Mazzoni <dm_mazzoni>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Dominic Mazzoni
Reported 2025-02-05 17:52:21 PST
When navigating line-by-line with VoiceOver, the end of any list item is truncated. The underlying issue is that the list item's text node might consist of, say, 10 characters, but the attributed string for the whole text element includes the list marker character, resulting in a length of 12 total. But if you fetch the attributed string for range with a range of (0, 10) you end up getting the list marker, but the end of the string gets truncated.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-05 17:52:29 PST
Dominic Mazzoni
Comment 2 2025-02-05 18:11:14 PST
EWS
Comment 3 2025-02-07 13:53:27 PST
Committed 290041@main (98770472e072): <https://commits.webkit.org/290041@main> Reviewed commits have been landed. Closing PR #40095 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.