Gmail: When navigating the inbox with the arrow keys, VoiceOver cannot track the focus
Categories
(Core :: Disability Access APIs, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox84 | --- | verified |
People
(Reporter: MarcoZ, Assigned: eeejay)
Details
(Whiteboard: [Mac2020_2])
Attachments
(2 files)
Gmail's inbox can be navigated using the arrow keys. Once focus lands in the table, arrowing up and down gives information such as importance, sender, subject, date, and a preview automatically.
Steps:
- Load Gmail.
- Find the "Skip to content" link and press Enter on it.
- Press Tab once more to actually focus the table.
- Arrow down.
- Expected: VoiceOver should speak the newly highlighted message information. It does so in Chrome.
- Actual: VoiceOver tries to, then gets interrupted, and only reads the date.
- Press UpArrow.
- Expected: VoiceOver reads the info for the top-most message.
- Actual: VoiceOver says "Conversations".
This is reproducible 100% of the time. It makes it impossible to reliably use Gmail.
| Assignee | ||
Comment 1•5 years ago
|
||
When focus changes we send a trailing caret move event which sends a platform AXSelectedTextChanged. VoiceOver in turn sets focus on the body, which sends the VO cursor to the doc.
Looks like both Chrome and Safari don't send AXSelectedTextChanged events when arrowing. At least Safari seems to so so when an element is styled user-select: none. This makes sense. We should have our underutilized SELECTABLE_TEXT state respect that styling.
| Assignee | ||
Comment 2•5 years ago
|
||
The SELECTABLE_TEXT state is currently under-utilized and probably wrong, since it simply relies on testing if a hypertext has any text. A more correct reflection of the state should be taken from layout's IsSelectable method.
Note, even if an element is styled user-select: none, the text will still be keyboard selectable if it is editable (eg. input or contenteditable), so we should consider that SELECTABLE_TEXT.
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
This causes VoiceOver to mess with AXFocused and as a result redirect the VO cursor.
Depends on D95783
Comment 5•5 years ago
|
||
Backed out for perma failures.
Log: https://treeherder.mozilla.org/logviewer?job_id=320667617&repo=autoland&lineNumber=3915
Lint failure: https://treeherder.mozilla.org/logviewer?job_id=320667175&repo=autoland&lineNumber=500
Backout: https://hg.mozilla.org/integration/autoland/rev/55cb76d04796bbc54e15dfc0e85fdb3812b98b15
Comment 7•5 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 8•5 years ago
|
||
Actually, this is not fixed yet, since Part 2 still awaits a linting fix and subsequent landing. Reopening.
Updated•5 years ago
|
Comment 10•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•5 years ago
|
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Confirmed the issue with 83.0.
Fix verified with 84.0b2, 85.0a1 (2020-11-19) on macOS 10.15.
Description
•