From 307370236a421309148261e787df78de308b340b Mon Sep 17 00:00:00 2001 From: Annmarie Ziegler Date: Tue, 27 Jul 2021 09:46:58 -0400 Subject: [PATCH] Add content description to FAB --- WordPress/src/main/res/layout/media_picker_fragment.xml | 1 + WordPress/src/main/res/layout/photo_picker_fragment.xml | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/WordPress/src/main/res/layout/media_picker_fragment.xml b/WordPress/src/main/res/layout/media_picker_fragment.xml index 9ca58d06cc69..08c3d58c0458 100644 --- a/WordPress/src/main/res/layout/media_picker_fragment.xml +++ b/WordPress/src/main/res/layout/media_picker_fragment.xml @@ -13,6 +13,7 @@ android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_margin" + android:contentDescription="@string/photo_picker_camera_desc" android:src="@drawable/ic_photo_camera_24px" android:visibility="gone" tools:ignore="InconsistentLayout" /> diff --git a/WordPress/src/main/res/layout/photo_picker_fragment.xml b/WordPress/src/main/res/layout/photo_picker_fragment.xml index abf4a4e9f797..afbf20f0ae27 100644 --- a/WordPress/src/main/res/layout/photo_picker_fragment.xml +++ b/WordPress/src/main/res/layout/photo_picker_fragment.xml @@ -12,11 +12,12 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="end|bottom" - android:visibility="gone" - android:src="@drawable/ic_photo_camera_24px" - android:layout_marginEnd="@dimen/fab_margin" android:layout_marginBottom="@dimen/fab_margin_stories" - tools:ignore="InconsistentLayout"/> + android:layout_marginEnd="@dimen/fab_margin" + android:contentDescription="@string/photo_picker_camera_desc" + android:src="@drawable/ic_photo_camera_24px" + android:visibility="gone" + tools:ignore="InconsistentLayout" />