Commit 7632684d authored by Jia's avatar Jia Committed by Commit Bot

[cros-launcher-settings] Add settings to hint text

This is following an accessibility and UI review request.

Bug: 1068851
Change-Id: I64d35e3f2254f5a597d2d67a579cc323a7c57ee1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241363Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Reviewed-by: default avatarToni Baržić <tbarzic@chromium.org>
Commit-Queue: Jia Meng <jiameng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#777980}
parent 54260b31
......@@ -226,7 +226,7 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackAppListTest, LauncherStateTransition) {
// Press space on expand arrow to go to fullscreen launcher.
sm_.Call([this]() { SendKeyPressWithSearch(ui::VKEY_SPACE); });
sm_.ExpectSpeech(
"Search your device, apps, and web."
"Search your device, apps, settings, and web."
" Use the arrow keys to navigate your apps.");
sm_.ExpectSpeech("Edit text");
// Check that Launcher, all apps state is announced.
......@@ -346,8 +346,8 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackAppListTest,
// Move focus to app list window;
sm_.Call([this]() { SendKeyPressWithSearch(ui::VKEY_RIGHT); });
sm_.ExpectSpeech(
"Search your device, apps, and web. Use the arrow keys to navigate your "
"apps.");
"Search your device, apps, settings, and web. Use the arrow keys to "
"navigate your apps.");
// Move focus to search box;
sm_.ExpectSpeech("Edit text");
sm_.Replay();
......@@ -372,8 +372,8 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackAppListTest, NavigateAppLauncher) {
// Click on the launcher, it brings up the app list UI.
sm_.Call([this]() { SendKeyPress(ui::VKEY_SPACE); });
sm_.ExpectSpeech(
"Search your device, apps, and web. Use the arrow keys to navigate your "
"apps.");
"Search your device, apps, settings, and web. Use the arrow keys to "
"navigate your apps.");
sm_.ExpectSpeech("Edit text");
// Close it and open it again.
......@@ -387,8 +387,8 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackAppListTest, NavigateAppLauncher) {
sm_.Call([this]() { SendKeyPress(ui::VKEY_SPACE); });
sm_.ExpectSpeech(
"Search your device, apps, and web. Use the arrow keys to navigate your "
"apps.");
"Search your device, apps, settings, and web. Use the arrow keys to "
"navigate your apps.");
// Now press the right arrow and we should be focused on an app button
// in a dialog.
......
......@@ -1006,13 +1006,13 @@ need to be translated for each locale.-->
<ph name="APP_NAME">$1<ex>Instagram</ex></ph>, App recommendation
</message>
<message name="IDS_APP_LIST_SEARCH_BOX_ACCESSIBILITY_NAME_CLAMSHELL" desc="Hint text for the search box in fullscreen app list window with additional instructions to use the arrow keys in Accessibility mode.">
Search your device, apps, and web. Use the arrow keys to navigate your apps.
Search your device, apps, settings, and web. Use the arrow keys to navigate your apps.
</message>
<message name="IDS_APP_LIST_SEARCH_BOX_ACCESSIBILITY_NAME_TABLET" desc="Hint text for the search box in fullscreen app list window. Tablet mode only, so we don't mention the arrow keys.">
Search your device, apps, and web.
Search your device, apps, settings, and web.
</message>
<message name="IDS_APP_LIST_SEARCH_BOX_PLACEHOLDER" desc="Placeholder text for the search box shown in the app list UI.">
Search your device, apps, web...
Search your device, apps, settings, web...
</message>
<!-- Strings describing the touch calibration UX -->
......
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