Fixes #7967: Updated accessibility details for 'add search engine' screen

fennec/beta
ValentinTimisica 4 years ago committed by Jeff Boek
parent f050db517c
commit 6f53020a4a

@ -13,6 +13,7 @@
android:paddingEnd="16dp" android:paddingEnd="16dp"
android:paddingTop="8dp" android:paddingTop="8dp"
android:paddingBottom="16dp" android:paddingBottom="16dp"
android:contentDescription="@string/search_add_custom_engine_form_description"
android:importantForAutofill="noExcludeDescendants"> android:importantForAutofill="noExcludeDescendants">
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
@ -54,6 +55,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/search_add_custom_engine_search_string_example" android:text="@string/search_add_custom_engine_search_string_example"
android:lineHeight="18sp" android:lineHeight="18sp"
android:labelFor="@+id/edit_search_string"
android:textColor="@android:color/tertiary_text_dark" /> android:textColor="@android:color/tertiary_text_dark" />
<TextView <TextView
@ -63,6 +65,7 @@
android:text="@string/exceptions_empty_message_learn_more_link" android:text="@string/exceptions_empty_message_learn_more_link"
android:textColor="?accent" android:textColor="?accent"
android:visibility="visible" android:visibility="visible"
android:contentDescription="@string/search_add_custom_engine_learn_more_description"
app:layout_constraintTop_toBottomOf="@id/exceptions_empty_message" /> app:layout_constraintTop_toBottomOf="@id/exceptions_empty_message" />
<ProgressBar <ProgressBar

@ -1180,6 +1180,10 @@
<string name="search_add_custom_engine_search_string_example">Replace query with “%s”. Example:\nhttps://www.google.com/search?q=%s</string> <string name="search_add_custom_engine_search_string_example">Replace query with “%s”. Example:\nhttps://www.google.com/search?q=%s</string>
<!-- Text for the button to learn more about adding a custom search engine --> <!-- Text for the button to learn more about adding a custom search engine -->
<string name="search_add_custom_engine_learn_more_label">Learn More</string> <string name="search_add_custom_engine_learn_more_label">Learn More</string>
<!-- Accessibility description for the form in which details about the custom search engine are entered -->
<string name="search_add_custom_engine_form_description">Custom search engine details</string>
<!-- Accessibility description for the 'Learn more' link -->
<string name="search_add_custom_engine_learn_more_description">Learn more link</string>
<!-- Text shown when a user leaves the name field empty --> <!-- Text shown when a user leaves the name field empty -->
<string name="search_add_custom_engine_error_empty_name">Enter search engine name</string> <string name="search_add_custom_engine_error_empty_name">Enter search engine name</string>

Loading…
Cancel
Save