Add contentDescription to the jump to botton view

Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
This commit is contained in:
Peter Vágner 2019-10-02 20:51:57 +02:00 committed by Peter Vágner
parent 11d72b81f6
commit 5db3c81aa9
2 changed files with 3 additions and 1 deletions

View File

@ -166,6 +166,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="16dp" android:layout_margin="16dp"
android:contentDescription="@string/a11y_jump_to_bottom"
android:src="@drawable/chevron_down" android:src="@drawable/chevron_down"
app:backgroundTint="#FFFFFF" app:backgroundTint="#FFFFFF"
app:badgeBackgroundColor="@color/riotx_accent" app:badgeBackgroundColor="@color/riotx_accent"
@ -178,4 +179,4 @@
app:tint="@color/black" /> app:tint="@color/black" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -23,6 +23,7 @@
<string name="a11y_close_keys_backup_banner">Close keys backup banner</string> <string name="a11y_close_keys_backup_banner">Close keys backup banner</string>
<string name="a11y_show_password">Show password</string> <string name="a11y_show_password">Show password</string>
<string name="a11y_hide_password">Hide password</string> <string name="a11y_hide_password">Hide password</string>
<string name="a11y_jump_to_bottom">Jump to bottom</string>
<!-- Read receipts list a11y --> <!-- Read receipts list a11y -->
<string name="two_and_some_others_read">%s, %s and %d others read</string> <string name="two_and_some_others_read">%s, %s and %d others read</string>