From 57ec71e60b7543c3882b7dcac42ef59a037b89b4 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Tue, 12 Sep 2023 13:06:06 +0200 Subject: [PATCH] Add accessibility description to FABs --- res/layout/activity_custom_devices.xml | 1 + res/layout/activity_run_command.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/res/layout/activity_custom_devices.xml b/res/layout/activity_custom_devices.xml index 6df225d4..f827a7cb 100644 --- a/res/layout/activity_custom_devices.xml +++ b/res/layout/activity_custom_devices.xml @@ -48,6 +48,7 @@ SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" app:elevation="@dimen/fab_elevation" + android:contentDescription="@string/add_device_dialog_title" android:src="@drawable/ic_add"/> diff --git a/res/layout/activity_run_command.xml b/res/layout/activity_run_command.xml index 1084b662..5910247c 100644 --- a/res/layout/activity_run_command.xml +++ b/res/layout/activity_run_command.xml @@ -39,6 +39,7 @@ SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted android:layout_margin="16dp" app:srcCompat="@drawable/ic_action_image_edit_24dp" app:layout_anchor="@id/run_commands_list" + android:contentDescription="@string/add_command" app:layout_anchorGravity="bottom|end" />