Commit 20a13e9a authored by Friedrich Horschig's avatar Friedrich Horschig Committed by Commit Bot

[Mfill Android] Improve announcement for keyboard accessory

The keyboard accessory was still using the old announcement. It would
shout "Passwords available" which isn't wrong since passwords fallbacks
are available but it is very unprecise, incomplete and misleading if the
accessory is filled with Address autofill suggestion.

Bug: 969202
Change-Id: I5792ff1479b361344d976b3036bec7b46cdf5638
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1793082Reviewed-by: default avatarIoana Pandele <ioanap@chromium.org>
Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695079}
parent 3532f449
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/keyboard_accessory" android:id="@+id/keyboard_accessory"
android:layout_gravity="start|bottom" android:layout_gravity="start|bottom"
android:contentDescription="@string/autofill_keyboard_accessory_content_description" android:contentDescription="@string/autofill_keyboard_accessory_modern_content_description"
android:scrollbars="none" android:scrollbars="none"
android:visibility="gone" android:visibility="gone"
android:orientation="vertical" android:orientation="vertical"
......
...@@ -103,9 +103,12 @@ ...@@ -103,9 +103,12 @@
</translations> </translations>
<release allow_pseudo="false" seq="1"> <release allow_pseudo="false" seq="1">
<messages fallback_to_english="true"> <messages fallback_to_english="true">
<message name="IDS_AUTOFILL_KEYBOARD_ACCESSORY_CONTENT_DESCRIPTION" desc="The text announced by the screen reader when the autofill suggestions are shown."> <message name="IDS_AUTOFILL_KEYBOARD_ACCESSORY_CONTENT_DESCRIPTION" desc="The text announced by the screen reader when the password suggestions are shown.">
Passwords available Passwords available
</message> </message>
<message name="IDS_AUTOFILL_KEYBOARD_ACCESSORY_MODERN_CONTENT_DESCRIPTION" desc="The text announced by the screen reader when the autofill suggestions and fallbacks are shown.">
Filling suggestions available in keyboard accessory
</message>
<message name="IDS_KEYBOARD_ACCESSORY_SHEET_HIDE" desc="Description for the active icon button that closes an accessory sheet and brings back the keyboard."> <message name="IDS_KEYBOARD_ACCESSORY_SHEET_HIDE" desc="Description for the active icon button that closes an accessory sheet and brings back the keyboard.">
Show keyboard Show keyboard
</message> </message>
......
Markdown is supported
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