Bug 285460

Summary: AX: In ENABLE(AX_THREAD_TEXT_APIS), we fail to include trailing newlines in the returned range for the AXRangeForLine attribute
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   

Tyler Wilcock
Reported 2025-01-06 13:00:05 PST
We do this in AccessibilityRenderObject::doAXRangeForLine here: https://github.com/WebKit/WebKit/blob/1538792f6d0149ec77015a26a1a5485ad406f2de/Source/WebCore/accessibility/AccessibilityRenderObject.cpp#L1883#L1884 We need to match this behavior in ENABLE(AX_THREAD_TEXT_APIS) mode.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-06 13:00:16 PST
Tyler Wilcock
Comment 2 2025-01-06 14:14:48 PST
EWS
Comment 3 2025-01-07 07:26:33 PST
Committed 288524@main (07681dd80dbd): <https://commits.webkit.org/288524@main> Reviewed commits have been landed. Closing PR #38597 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.