Ensure new views using RecyclerView are accessible

RESOLVED FIXED

Status

()

Firefox for Android
General
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: mcomella, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
Marco raised concerns on mobile-firefox-dev [1] to ensure RecyclerView is accessible - let's test with TalkBack and find out!

[1]: https://mail.mozilla.org/pipermail/mobile-firefox-dev/2015-June/001259.html
(More of a personal note)

I've been playing with Tallback and a RecyclerView test app, which seems to work fine. Settings the content description can be done in the onBindViewHolder method of a RecyclerView.Adapter.

After you bind the item, we can set the description like so:
```
public void onBindViewHolder(ViewHolder holder, final int position) {
    holder.getTitle().setContentDescription("Title is " + mList.get(position).getTitle());
}
```
This is sort of done since we know that accessibility works with RecyclerViews. What's the steps needed to close this?
Flags: needinfo?(michael.l.comella)
(Reporter)

Comment 3

2 years ago
Did you try this out on a RecyclerView in Firefox? If so, feel free to close.
Flags: needinfo?(michael.l.comella) → needinfo?(jalmeida)
Compared the SearchEngineBar which is using the RecyclerView in nightly and a TwoWayView in Beta, and Talkback interacts the same (correct) way.

Closing..
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(jalmeida)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.