Accessibility: Add missing image descriptions

This commit is contained in:
Sam Whited 2014-11-29 07:58:18 -05:00
parent afc673bb15
commit e43ac27e8f
3 changed files with 8 additions and 3 deletions

View File

@ -10,7 +10,8 @@
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="48dp" android:layout_height="48dp"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:src="@drawable/ic_profile" > android:src="@drawable/ic_profile"
android:contentDescription="@string/account_image_description">
</ImageView> </ImageView>
<LinearLayout <LinearLayout

View File

@ -27,7 +27,8 @@
android:layout_width="72dp" android:layout_width="72dp"
android:layout_height="72dp" android:layout_height="72dp"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_marginRight="16dp"/> android:layout_marginRight="16dp"
android:contentDescription="@string/account_image_description"/>
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -236,7 +237,8 @@
android:background="?android:selectableItemBackground" android:background="?android:selectableItemBackground"
android:padding="8dp" android:padding="8dp"
android:src="@drawable/ic_action_copy" android:src="@drawable/ic_action_copy"
android:visibility="visible" /> android:visibility="visible"
android:contentDescription="@string/copy_otr_clipboard_description"/>
</RelativeLayout> </RelativeLayout>

View File

@ -358,4 +358,6 @@
<string name="conference_created">Conference created!</string> <string name="conference_created">Conference created!</string>
<string name="secret_accepted">Secret accepted!</string> <string name="secret_accepted">Secret accepted!</string>
<string name="reset">Reset</string> <string name="reset">Reset</string>
<string name="account_image_description">Account avatar</string>
<string name="copy_otr_clipboard_description">Copy OTR fingerprint to clipboard</string>
</resources> </resources>