Bug 199282 - AX: [ATK] Text in anonymous blocks not emitting caret-moved events
Summary: AX: [ATK] Text in anonymous blocks not emitting caret-moved events
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-27 12:11 PDT by Joanmarie Diggs
Modified: 2019-06-27 12:16 PDT (History)
2 users (show)

See Also:


Attachments
pyatspi accessible-event listener: text-caret-moved.py (575 bytes, text/x-python)
2019-06-27 12:11 PDT, Joanmarie Diggs
no flags Details
Test case (228 bytes, text/html)
2019-06-27 12:12 PDT, Joanmarie Diggs
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs 2019-06-27 12:11:51 PDT
Created attachment 373043 [details]
pyatspi accessible-event listener: text-caret-moved.py

Steps to reproduce:
1. Load the attached test case in Epiphany or MiniBrowser
2. Enable caret browsing
3. Launch the attached pyatspi accessible-event listener in a terminal
4. Click within each line of text in the test case and then arrow left and right

Expected results: With each press of the arrow keys, the accessible-event listener would dump out the new caret offset, the new character at that offset, and the new line at that offset.

Actual results: The expected results happen for two of the lines, but completely fail in the other two lines due to no caret-moved events being emitted.

I might be wrong, but it appears the failures occur when the text is in an anonymous block.
Comment 1 Joanmarie Diggs 2019-06-27 12:12:19 PDT
Created attachment 373044 [details]
Test case
Comment 2 Radar WebKit Bug Importer 2019-06-27 12:13:59 PDT
<rdar://problem/52276130>
Comment 3 Radar WebKit Bug Importer 2019-06-27 12:14:00 PDT
<rdar://problem/52276132>
Comment 4 Joanmarie Diggs 2019-06-27 12:15:07 PDT
(Sorry for being spammy, but I forgot to state why this matters.)

When the user is arrowing in text, Orca gets caret-moved events which it responds to by speaking and (optionally displaying in braille) the new location. If there's radio silence from webkit, the user who is blind gets the same from Orca. Thus the content in question cannot be read.
Comment 5 Radar WebKit Bug Importer 2019-06-27 12:16:28 PDT
<rdar://problem/52276291>