[Webkit-unassigned] [Bug 275870] New: AX: lineTextMarkerRangeForTextMarker fails on first character of line in Google Docs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 25 13:44:13 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275870
Bug ID: 275870
Summary: AX: lineTextMarkerRangeForTextMarker fails on first
character of line in Google Docs
Product: WebKit
Version: Safari Technology Preview
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dm_mazzoni at apple.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
I created this minimal repro:
<div id="textcontrol" contenteditable="true">
First line of text
<span contenteditable="false"><br></span>
Second line of text
<span contenteditable="false"><br></span>
Third line of text
<span contenteditable="false"><br></span>
Fourth line of text
</div>
If you arrow up and down this text with VoiceOver on, the correct line is not announced when you're on the first character of a line. At any other character index it works fine. The API that's failing is lineTextMarkerRangeForTextMarker, it's returning a range of length 0 or 1 when the marker is at the beginning of the line.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240625/7b298ef4/attachment.htm>
More information about the webkit-unassigned
mailing list