Content descriptions (#1358)

* Adding in Content Description for automated testing including: Community input (URL) box, changes `Configuration message` to `Control message` and also `Message Body` to `Message body`Created checkout page along with checkoutItems and checkout cart functionality

* Forgot the button at the end
This commit is contained in:
wafflesvsfrankie 2023-11-20 15:32:57 +11:00 committed by GitHub
parent 9d02eb33c7
commit 7fe40ea9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -25,6 +25,7 @@
android:layout_marginTop="@dimen/large_spacing" android:layout_marginTop="@dimen/large_spacing"
android:gravity="center_vertical" android:gravity="center_vertical"
android:hint="@string/fragment_enter_community_url_edit_text_hint" android:hint="@string/fragment_enter_community_url_edit_text_hint"
android:contentDescription="@string/AccessibilityId_community_input_box"
android:inputType="textUri" android:inputType="textUri"
android:maxLines="3" android:maxLines="3"
android:paddingTop="0dp" android:paddingTop="0dp"
@ -91,6 +92,7 @@
<Button <Button
android:id="@+id/joinCommunityButton" android:id="@+id/joinCommunityButton"
style="@style/Widget.Session.Button.Common.ProminentOutline" style="@style/Widget.Session.Button.Common.ProminentOutline"
android:contentDescription="@string/AccessibilityId_join_community_button"
android:layout_width="196dp" android:layout_width="196dp"
android:layout_height="@dimen/medium_button_height" android:layout_height="@dimen/medium_button_height"
android:layout_marginVertical="@dimen/large_spacing" android:layout_marginVertical="@dimen/large_spacing"

View File

@ -57,6 +57,9 @@
<string name="AccessibilityId_new_direct_message">New direct message</string> <string name="AccessibilityId_new_direct_message">New direct message</string>
<string name="AccessibilityId_create_group">Create group</string> <string name="AccessibilityId_create_group">Create group</string>
<string name="AccessibilityId_join_community">Join community</string> <string name="AccessibilityId_join_community">Join community</string>
<!-- Join community pop up -->
<string name="AccessibilityId_community_input_box">Community input</string>
<string name="AccessibilityId_join_community_button">Join community button</string>
<!-- Conversation options (three dots menu)--> <!-- Conversation options (three dots menu)-->
<string name="AccessibilityId_all_media">All media</string> <string name="AccessibilityId_all_media">All media</string>
<string name="AccessibilityId_search">Search</string> <string name="AccessibilityId_search">Search</string>
@ -89,7 +92,7 @@
<string name="AccessibilityId_block_message_request_button">Block message request</string> <string name="AccessibilityId_block_message_request_button">Block message request</string>
<string name="AccessibilityId_timer_icon">Timer icon</string> <string name="AccessibilityId_timer_icon">Timer icon</string>
<!-- Configuration messages --> <!-- Configuration messages -->
<string name="AccessibilityId_control_message">Configuration message</string> <string name="AccessibilityId_control_message">Control message</string>
<string name="AccessibilityId_blocked_banner">Blocked banner</string> <string name="AccessibilityId_blocked_banner">Blocked banner</string>
<string name="AccessibilityId_blocked_banner_text">Blocked banner text</string> <string name="AccessibilityId_blocked_banner_text">Blocked banner text</string>
<!--New Session --> <!--New Session -->
@ -118,7 +121,7 @@
<string name="AccessibilityId_message_sent_status_pending">Message sent status pending</string> <string name="AccessibilityId_message_sent_status_pending">Message sent status pending</string>
<string name="AccessibilityId_message_sent_status_syncing">Message sent status syncing</string> <string name="AccessibilityId_message_sent_status_syncing">Message sent status syncing</string>
<string name="AccessibilityId_message_request_config_message">Message request has been accepted</string> <string name="AccessibilityId_message_request_config_message">Message request has been accepted</string>
<string name="AccessibilityId_message_body">Message Body</string> <string name="AccessibilityId_message_body">Message body</string>
<string name="AccessibilityId_voice_message">Voice message</string> <string name="AccessibilityId_voice_message">Voice message</string>
<string name="AccessibilityId_document">Document</string> <string name="AccessibilityId_document">Document</string>
<string name="AccessibilityId_deleted_message">Deleted message</string> <string name="AccessibilityId_deleted_message">Deleted message</string>