Improves content descriptions

This commit is contained in:
ericdecanini 2022-08-09 14:30:36 +02:00
parent f2c3b5cb43
commit af04221ad9
2 changed files with 4 additions and 3 deletions

View file

@ -67,7 +67,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="20dp" android:layout_marginBottom="20dp"
android:accessibilityTraversalAfter="@id/newLayoutCreateChatButton" android:accessibilityTraversalAfter="@id/newLayoutCreateChatButton"
android:contentDescription="@string/a11y_create_room" android:contentDescription="@string/a11y_open_spaces"
android:src="@drawable/ic_open_spaces" android:src="@drawable/ic_open_spaces"
android:visibility="gone" android:visibility="gone"
app:backgroundTint="?attr/vctr_toolbar_background" app:backgroundTint="?attr/vctr_toolbar_background"
@ -88,7 +88,7 @@
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp" android:layout_marginBottom="16dp"
android:accessibilityTraversalBefore="@id/roomListView" android:accessibilityTraversalBefore="@id/roomListView"
android:contentDescription="@string/a11y_create_room" android:contentDescription="@string/a11y_create_message"
android:src="@drawable/ic_new_chat" android:src="@drawable/ic_new_chat"
android:visibility="gone" android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

View file

@ -1812,7 +1812,8 @@
<string name="a11y_create_menu_close">Close the create room menu…</string> <string name="a11y_create_menu_close">Close the create room menu…</string>
<string name="a11y_create_direct_message">Create a new direct conversation</string> <string name="a11y_create_direct_message">Create a new direct conversation</string>
<string name="a11y_create_message">Create a new conversation or room</string> <string name="a11y_create_message">Create a new conversation or room</string>
<string name="a11y_create_room">Create a new room</string> <string name="a11y_create_room">Create a new room</string> <!-- TODO TO BE REMOVED -->
<string name="a11y_open_spaces">Open spaces list</string>
<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_jump_to_bottom">Jump to bottom</string> <string name="a11y_jump_to_bottom">Jump to bottom</string>