From e43ac27e8f3dfabb69bc5edcb3eb005598270e81 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Sat, 29 Nov 2014 07:58:18 -0500 Subject: Accessibility: Add missing image descriptions --- src/main/res/layout/account_row.xml | 3 ++- src/main/res/layout/activity_edit_account.xml | 6 ++++-- src/main/res/values/strings.xml | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src/main') diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml index 2d1190a3..60b69090 100644 --- a/src/main/res/layout/account_row.xml +++ b/src/main/res/layout/account_row.xml @@ -10,7 +10,8 @@ android:layout_width="48dp" android:layout_height="48dp" android:layout_alignParentLeft="true" - android:src="@drawable/ic_profile" > + android:src="@drawable/ic_profile" + android:contentDescription="@string/account_image_description"> + android:layout_marginRight="16dp" + android:contentDescription="@string/account_image_description"/> + android:visibility="visible" + android:contentDescription="@string/copy_otr_clipboard_description"/> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 7e235f68..6b639452 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -358,4 +358,6 @@ Conference created! Secret accepted! Reset + Account avatar + Copy OTR fingerprint to clipboard -- cgit v1.2.3