From 73bf75f65f5efe98663cfc99f117aac477d90f56 Mon Sep 17 00:00:00 2001 From: Paul Lanctot Date: Fri, 2 Dec 2016 16:56:18 -0800 Subject: [PATCH] Accessible content labels for attachment icons Fixes #5908 Closes #5917 // FREEBIE --- res/layout/attachment_type_selector.xml | 11 +++++++++-- res/values/strings.xml | 9 +++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/res/layout/attachment_type_selector.xml b/res/layout/attachment_type_selector.xml index 46d2526e21..e2a48e1ebb 100644 --- a/res/layout/attachment_type_selector.xml +++ b/res/layout/attachment_type_selector.xml @@ -34,6 +34,7 @@ android:src="@drawable/ic_image_white_36dp" android:scaleType="center" android:elevation="4dp" + android:contentDescription="@string/attachment_type_selector__image_description" app:circleColor="@color/purple_400"/> + android:text="@string/attachment_type_selector__gif"/> @@ -210,6 +216,7 @@ android:src="@drawable/ic_keyboard_arrow_down_white_36dp" android:scaleType="center" android:elevation="4dp" + android:contentDescription="@string/attachment_type_selector__drawer_description" app:circleColor="@color/gray50"/> Image + Image Audio + Audio Video + Video Contact + Contact Camera + Camera Location + Location + GIF + Gif + Toggle attachment drawer Old passphrase