From 2d0675202f402bfde2ddd5f8572d1bfd5d76f91f Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Wed, 4 Sep 2024 23:47:04 -0400 Subject: Start adding contentDescription for image views. --- app/src/main/res/layout/activity_post_image.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/src/main/res/layout/activity_post_image.xml') diff --git a/app/src/main/res/layout/activity_post_image.xml b/app/src/main/res/layout/activity_post_image.xml index 23652e08..22c9f4f0 100644 --- a/app/src/main/res/layout/activity_post_image.xml +++ b/app/src/main/res/layout/activity_post_image.xml @@ -233,6 +233,7 @@ android:layout_height="wrap_content" android:layout_margin="16dp" android:src="@drawable/ic_outline_add_a_photo_24dp" + android:contentDescription="@string/content_description_capture_photo" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/select_from_library_fab_post_image_activity" app:layout_constraintHorizontal_chainStyle="spread" @@ -246,6 +247,7 @@ android:layout_height="wrap_content" android:layout_margin="16dp" android:src="@drawable/ic_outline_select_photo_24dp" + android:contentDescription="@string/content_description_select_image" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_chainStyle="spread" @@ -272,7 +274,8 @@ android:layout_height="wrap_content" android:adjustViewBounds="true" android:scaleType="fitStart" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@string/content_description_selected_image" /> -- cgit v1.2.3