Bug 287124
| Summary: | AX: attributed string for range truncated for list items | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominic Mazzoni <dm_mazzoni> |
| Component: | Accessibility | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/144274917>
Dominic Mazzoni
Pull request: https://github.com/WebKit/WebKit/pull/40095
EWS
Committed 290041@main (98770472e072): <https://commits.webkit.org/290041@main>
Reviewed commits have been landed. Closing PR #40095 and removing active labels.