FloatingActionButtonSpeedDial
FloatingActionButtonSpeedDial copied to clipboard
TalkBack reads the label text twice
Step 1: Are you in the right place?
- [x] I have verified there are no duplicate active or recent bugs, questions, or requests
- [x] I have verified that I am using the latest version of the library.
Step 2: Describe your environment
- Library version:
3.3.0 - Android version:
13 - Support library version:
? - Device brand:
OnePlus - Device model:
7T
Step 3: Describe the problem:
Steps to reproduce:
- Activate TalkBack
- Open the action menu
Observed Results:
- The labels are read twice, once for the actual text labels and once for the FAB images. TalkBack users have to swipe twice to get to the next item because each item is focused twice.
Expected Results:
- Read and focus each action only once.
Relevant Code:
I think this was introduced in https://github.com/leinardi/FloatingActionButtonSpeedDial/commit/6653f9182323add0624d593432e1c33f71c7b0d0, which sets a content description on the FABs even if there already is a label anyway. Instead, if there is a label, it should set the FAB to be not important for accessibility.
See also: https://github.com/AntennaPod/AntennaPod/issues/6692