Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug][a11y] '+' button from Add new collection read as Close button using Talkback #3424

Closed
sv-sdeiac opened this issue Jun 13, 2019 · 6 comments
Labels
access Accessibility: Talkback, HW keyboard/mouse, braile display etc. 🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified good first issue Good for newcomers
Milestone

Comments

@sv-sdeiac
Copy link

sv-sdeiac commented Jun 13, 2019

Prerequisites

You have Talkback option enabled from your Android settings.

Steps to reproduce

  1. Open Firefox preview;
  2. Open a page;
  3. Tap 3dots menu;
  4. Tap on 'Save to Collection' button;
  5. Make Talkback to read the '+' button from Add new collection.

Expected behavior

Talkback read correctly the '+' button.

Actual behavior

Talkback read the '+' button as Close button.

Device information

  • Android device: LG G7fit (Android 8.1).
  • Fenix version: 1.0.1924.

┆Issue is synchronized with this Jira Task

@sv-sdeiac sv-sdeiac added the 🐞 bug Crashes, Something isn't working, .. label Jun 13, 2019
@sv-ohorvath sv-ohorvath added the access Accessibility: Talkback, HW keyboard/mouse, braile display etc. label Jun 13, 2019
@sblatz sblatz added the good first issue Good for newcomers label Jun 21, 2019
@JorgeDLS
Copy link
Contributor

JorgeDLS commented Jun 28, 2019

Hi, I'd like to grab this one, but I have a doubt:
The '+' button here acts as a complement to the text it has at its side (Add new collection) so I'm not sure if it's best for Talkback to read the + button as "Add new Collection" or it would be better to omit this item from being read by Talkback by removing its contentDescription attribute.

If we take the first approach, that would result in talkback reading two "Add new Collection" which I think could be misleading, that's why I propose removing contentDescription from that ImageButton.

What do you folks think?

@ekager
Copy link
Contributor

ekager commented Jun 28, 2019

I think the content description for that button should change with the mode of collection creation. So in CollectionCreationUIView when we change the drawable for bottom_bar_icon_button , we should also add/remove the content description. It should read "close" but I agree with you we don't want duplicate descriptions read for "Add new Collection".

JorgeDLS added a commit to JorgeDLS/fenix that referenced this issue Jun 29, 2019
…ion Selection by removing contentDescription and setting importantForAccessibility=no
@sv-sdeiac
Copy link
Author

Hello, in my opinion, is that we should make a translation more accurate of the '+' button.
It is not a good idea to remove the name of a button from Talkback.
Maybe we can find a description to be different from the "Add new Collection". It can be just 'Add button' or eventually if we can't find a good Idea for that button, we can connect the '+' with the 'Add new collection' text to be read in the same time.

@JorgeDLS
Copy link
Contributor

JorgeDLS commented Jul 1, 2019

I fully understand your concerns @sv-sdeiac, in fact, I'll try to explain better the situation and why I think removing the ImageButton from Talkback is good for this particular case:

When adding a new collection, there's a "Bottom bar" that's made from an ImageButton and a TextView. The whole BottomBar is the touchable/clickable/readable by talkback element, so in the actual implementation, talkback reads the BottomBar (Add New Collection), and it also reads the ImageButton with the plus sign. If we follow Mozilla's Accessibility Guide, they suggest removing redundant steps like this one.

So, long story short, there's no functionality being lost here, in fact, a redundant step is removed, which is good for the UX.

ekager pushed a commit that referenced this issue Aug 12, 2019
For #3424 - Make talkback ignore ImageButton in Collection Selection by removing contentDescription and setting importantForAccessibility=no
@ekager ekager added the eng:qa:needed QA Needed label Aug 14, 2019
@ekager ekager added this to the v1.3 milestone Aug 14, 2019
@AndiAJ AndiAJ added eng:qa:verified QA Verified and removed eng:qa:needed QA Needed labels Aug 16, 2019
@AndiAJ
Copy link
Collaborator

AndiAJ commented Aug 16, 2019

Hi, verified as fixed on 1.3.0-rc.1 using a Huawei Media Pad M3 Lite 10 (Android 7)

@AndiAJ AndiAJ closed this as completed Aug 16, 2019
@lobontiumira
Copy link

Also, verified on RC 1.3.0-rc.3 with Xiaomi Mi8 Lite (Android 9).

@data-sync-user data-sync-user changed the title [Bug][a11y] '+' button from Add new collection read as Close button using Talkback FNX3-17004 ⁃ [Bug][a11y] '+' button from Add new collection read as Close button using Talkback Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX3-17004 ⁃ [Bug][a11y] '+' button from Add new collection read as Close button using Talkback [Bug][a11y] '+' button from Add new collection read as Close button using Talkback May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
access Accessibility: Talkback, HW keyboard/mouse, braile display etc. 🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

9 participants