Commit 6f53020a authored by ValentinTimisica's avatar ValentinTimisica Committed by Jeff Boek
Browse files

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

parent f050db51
......@@ -13,6 +13,7 @@
android:paddingEnd="16dp"
android:paddingTop="8dp"
android:paddingBottom="16dp"
android:contentDescription="@string/search_add_custom_engine_form_description"
android:importantForAutofill="noExcludeDescendants">
<com.google.android.material.textfield.TextInputLayout
......@@ -54,6 +55,7 @@
android:layout_height="wrap_content"
android:text="@string/search_add_custom_engine_search_string_example"
android:lineHeight="18sp"
android:labelFor="@+id/edit_search_string"
android:textColor="@android:color/tertiary_text_dark" />
<TextView
......@@ -63,6 +65,7 @@
android:text="@string/exceptions_empty_message_learn_more_link"
android:textColor="?accent"
android:visibility="visible"
android:contentDescription="@string/search_add_custom_engine_learn_more_description"
app:layout_constraintTop_toBottomOf="@id/exceptions_empty_message" />
<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>
<!-- 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>
<!-- 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 -->
<string name="search_add_custom_engine_error_empty_name">Enter search engine name</string>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment