1
0
Fork 0

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

master
ValentinTimisica 2020-02-13 12:01:52 +02:00 committed by Jeff Boek
parent f050db517c
commit 6f53020a4a
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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>