Closed Bug 1401743 Opened 7 years ago Closed 7 years ago

[a11y] Pocket arrow is announced as "unlabelled button"

Categories

(Firefox for Android Graveyard :: Activity Stream, defect, P1)

All
Android
defect

Tracking

(fennec+, firefox55 unaffected, firefox56 unaffected, firefox57 verified, firefox58 verified)

VERIFIED FIXED
Firefox 58
Tracking Status
fennec + ---
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- verified
firefox58 --- verified

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

(Whiteboard: [mobileAS])

Attachments

(1 file)

When swiping to navigate with Talkback, we announce (each line is a "next swipe"):
1) "Recommended by Pocket"
2) "more"
3) "Unlabelled button"

I'm concerned that 2) is lacking context with the visuals of being at the top of the Pocket items. 3) is not useful (perhaps we can put it in a ViewGroup with MORE and specify the whole container as the hit target?).
Easy, let's fix it but we're breaking out announcing more to the next release because we can't uplift a string change.
tracking-fennec: ? → +
Priority: -- → P1
Summary: [a11y] Pocket MORE button announces "more" but lacks Pocket visual context; arrow is announced as "unlabelled button" → [a11y] Pocket arrow is announced as "unlabelled button"
Iteration: --- → 1.30
Assignee: nobody → michael.l.comella
The proper solution here is to put MORE and the arrow in a single focusable
container but this needs to get uplifted so I went with the simpler change.

For non-visual users, there is no difference. For visual users, the only "more"
is focused, rather than "more" and the arrow in one container. The code as it
is slightly more complex because we have to hide and add click listeners to
multiple objects.

Review commit: https://reviewboard.mozilla.org/r/182388/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/182388/
Attachment #8910927 - Flags: review?(liuche)
Comment on attachment 8910927 [details]
Bug 1401743: Disable importance for accessibility of pocket MORE arrow.

https://reviewboard.mozilla.org/r/182388/#review187732
Attachment #8910927 - Flags: review?(liuche) → review+
Pushed by cliu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2dbb8579cec0
Disable importance for accessibility of pocket MORE arrow. r=liuche
Comment on attachment 8910927 [details]
Bug 1401743: Disable importance for accessibility of pocket MORE arrow.

Approval Request Comment
[Feature/Bug causing the regression]: bug 1393174
[User impact if declined]: Talkback (a11y) users, can focus the arrow next to the MORE text and it will be announced as "Unlabelled button". This is especially awkward/mysterious/unpolished when swiping to navigation where you hear:
1) Recommended by Pocket (swipe)
2) More (swipe)
3) Unlabelled button

[Is this code covered by automated tests?]: No
[Has the fix been verified in Nightly?]: No
[Needs manual test from QE? If yes, steps to reproduce]: Ideal. Comment 0 should suffice provided the QE is familiar with Talkback.
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: No.
[Why is the change risky/not risky?]: It's one line: we add an XML attribute that will not change the experience for non-accessibility users. iirc, if the attr was unavailable, it would be a compile error. If the value was unavailable, it'd be a runtime error we would have hit already.
[String changes made/needed]: None
Attachment #8910927 - Flags: approval-mozilla-beta?
(In reply to Michael Comella (:mcomella) from comment #5)
> [Needs manual test from QE? If yes, steps to reproduce]: Ideal. Comment 0
> should suffice provided the QE is familiar with Talkback.

That is, before we heard 1), 2), and 3) and after this patch, 3) - "Unlabelled button" - should no longer be heard.
I was told I should NI sylvestre to make sure my change gets considered for 57 Beta.
Flags: needinfo?(sledru)
https://hg.mozilla.org/mozilla-central/rev/2dbb8579cec0
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment on attachment 8910927 [details]
Bug 1401743: Disable importance for accessibility of pocket MORE arrow.

Improve accessibility, taking it.
Should be in 57b3.
Flags: needinfo?(sledru)
Attachment #8910927 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Checked this in Nightly 58 from 22-09-2017. The fix works, the arrow can no longer be selected for talkback users. Marking as verified for Nightly and will check again when this lands in beta 57, NI-ing myself in order to not forget about this.
Flags: needinfo?(bogdan.surd)
Status: RESOLVED → VERIFIED
Flags: needinfo?(bogdan.surd)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: