From af04221ad9e0d1eaa0bb6f4546d3b43cf65ff47e Mon Sep 17 00:00:00 2001
From: ericdecanini <eddecanini@gmail.com>
Date: Tue, 9 Aug 2022 14:30:36 +0200
Subject: [PATCH] Improves content descriptions

---
 vector/src/main/res/layout/fragment_room_list.xml | 4 ++--
 vector/src/main/res/values/strings.xml            | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/vector/src/main/res/layout/fragment_room_list.xml b/vector/src/main/res/layout/fragment_room_list.xml
index 631602bb14..17d93eb98a 100644
--- a/vector/src/main/res/layout/fragment_room_list.xml
+++ b/vector/src/main/res/layout/fragment_room_list.xml
@@ -67,7 +67,7 @@
             android:layout_height="wrap_content"
             android:layout_marginBottom="20dp"
             android:accessibilityTraversalAfter="@id/newLayoutCreateChatButton"
-            android:contentDescription="@string/a11y_create_room"
+            android:contentDescription="@string/a11y_open_spaces"
             android:src="@drawable/ic_open_spaces"
             android:visibility="gone"
             app:backgroundTint="?attr/vctr_toolbar_background"
@@ -88,7 +88,7 @@
             android:layout_marginEnd="16dp"
             android:layout_marginBottom="16dp"
             android:accessibilityTraversalBefore="@id/roomListView"
-            android:contentDescription="@string/a11y_create_room"
+            android:contentDescription="@string/a11y_create_message"
             android:src="@drawable/ic_new_chat"
             android:visibility="gone"
             app:layout_constraintBottom_toBottomOf="parent"
diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml
index bd4f032d0e..9fc9756897 100644
--- a/vector/src/main/res/values/strings.xml
+++ b/vector/src/main/res/values/strings.xml
@@ -1812,7 +1812,8 @@
     <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_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_jump_to_bottom">Jump to bottom</string>