leinardi/FloatingActionButtonSpeedDial
TalkBack describes main FAB as "unlabeled button"
Ouverte
#192 ouverte le 27 févr. 2024
Priority: MediumStatus: AcceptedType: Bughelp wanted
Métriques du dépôt
- Stars
- (1 473 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Step 1: Are you in the right place?
- I have verified there are no duplicate active or recent bugs, questions, or requests
- I have verified that I am using the latest version of the library.
Step 2: Describe your environment
- Library version: view-3.3.0
- Android version: 12
- Support library version:
?(not sure what this means) - Device brand: Samsung
- Device model: Galaxy S10
Step 3: Describe the problem:
Steps to reproduce:
- Set contentDescription of SpeedDialView
- Enable TalkBack
- Press on main FAB
- Observe "unlabeled button"
Observed Results:
- When using TalkBack, main FAB is described as "unlabeled button."
Expected Results:
- When using TalkBack, main FAB would be described as "Apply action button."
Relevant Code:
<com.leinardi.android.speeddial.SpeedDialView
android:id="@+id/fabSD"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:accessibilityTraversalBefore="@android:id/list"
android:contentDescription="@string/apply_action"
android:visibility="gone"
app:sdMainFabClosedSrc="@drawable/ic_fab_edit"
app:sdOverlayLayout="@id/fabSDOverlay" />
I think the problem is that SpeedDialView is not the FAB itself, but just a LinearLayout. Thus, the contentDescription is being applied to the SpeedDialView and not the (main) FAB that's IN the SpeedDialView. (If that's not the problem, then I don't know what is.)