Commit fb851895 authored by Akihiro Ota's avatar Akihiro Ota Committed by Commit Bot

ChromeVox Tutorial: Add UX-approved strings to OOBE tutorial.

This patch only changes the text content on the screen. There are no
functionality changes as a result of this patch. Also, we are adding
these strings so they can be tested before finalizing them as
official string resources. Please see the follow-up change that
implements localization:

https://chromium-review.googlesource.com/c/chromium/src/+/2254345

Bug: 1124066
Change-Id: Id83e67a6b610a54627c01a395e197c760f98f094
AX-Relnotes: N/A
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2390959
Commit-Queue: Akihiro Ota <akihiroota@chromium.org>
Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Auto-Submit: Akihiro Ota <akihiroota@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805079}
parent 1b8a11a8
...@@ -98,14 +98,11 @@ Polymer({ ...@@ -98,14 +98,11 @@ Polymer({
type: Array, type: Array,
value: [ value: [
{ {
content: [`Welcome to the ChromeVox tutorial. We noticed this might be content: [`Welcome to the ChromeVox tutorial. To exit this tutorial
your first time using ChromeVox, so let's quickly cover the at any time, press the Escape key on the top left corner
basics. To exit this tutorial at any time, press the Escape of the keyboard. To turn off ChromeVox, hold Control and Alt, and
key, which is located in the top left corner of the press Z. When you're ready, use the spacebar to move to the next
keyboard. To turn off ChromeVox, exit this tutorial and press lesson.`],
Control, Alt, and Z
at the same time. When you're ready, use the space bar to move
to the next lesson.`],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
actions: [ actions: [
...@@ -115,12 +112,10 @@ Polymer({ ...@@ -115,12 +112,10 @@ Polymer({
}, },
{ {
content: content: [`Let's start with a few keys you'll use regularly: Control,
[`Let's start with the keyboard layout. There are a few keys that Shift, Search, and the Arrow keys. Find the Control key on the
are crucial to know when using ChromeVox: Control, Shift, bottom left corner of your keyboard. To continue, press the Control
Search, and the Arrow keys. To continue to the next lesson, key.`],
find and press the Control key, which is located in the bottom
left corner of the keyboard`],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
actions: [ actions: [
...@@ -130,11 +125,10 @@ Polymer({ ...@@ -130,11 +125,10 @@ Polymer({
}, },
{ {
content: content: [`The Control key can be used at any time to temporarily stop
[`The Control key can be used at any time to silence any current ChromeVox from speaking. Now, find the left Shift key, which is
speech; please note, it does not prevent any new speech from being directly above the Control key. To continue, press the left Shift
announced. To continue to the next lesson, find and press key.`],
the left Shift key, which is directly above the Control key.`],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
actions: [ actions: [
...@@ -145,14 +139,11 @@ Polymer({ ...@@ -145,14 +139,11 @@ Polymer({
{ {
content: content:
[`We'll talk more about the shift key in later lessons, as it is [`We'll talk more about the Shift key in later lessons, as it is
used in many ChromeVox commands. Let's used in many ChromeVox commands. Next, you’ll learn about the
move on to the Search Key, which is arguably the most important Search key. The Search key is used in combination with other keys
key to know when using ChromeVox. In ChromeVox, the Search key for ChromeVox commands. The Search key is immediately above the
is the modifier key. Most ChromeVox shortcuts start with the left Shift key. To continue, press the Search key.`],
Search key. On a Chromebook, the Search key is immediately
above the left Shift key. To continue to the next lesson,
find and press the Search key.`],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
actions: [{ actions: [{
...@@ -165,15 +156,11 @@ Polymer({ ...@@ -165,15 +156,11 @@ Polymer({
{ {
content: [ content: [
`Now that you know where the search key is, let's learn `Now you’ll learn some basic navigation. You can hold Search and
some basic navigation. While holding search, use the arrow press the arrow keys to move around the screen. To continue,
keys to move ChromeVox around the screen. Press Search + press Search + Right arrow.`,
right arrow to move to the next instruction`,
`You can use Search + right arrow and search + left arrow to
move ChromeVox around the screen. Try pressing Search +
right arrow again.`,
`If you reach an item you want to click, press Search + Space. `If you reach an item you want to click, press Search + Space.
Try doing so now to move to the next lesson`, Try it now to continue.`,
], ],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
...@@ -183,10 +170,6 @@ Polymer({ ...@@ -183,10 +170,6 @@ Polymer({
value: {cvoxModifier: true, keys: {keyCode: [39]}}, value: {cvoxModifier: true, keys: {keyCode: [39]}},
afterActionMsg: 'Great! You pressed Search + right arrow.' afterActionMsg: 'Great! You pressed Search + right arrow.'
}, },
{
type: 'key_sequence',
value: {cvoxModifier: true, keys: {keyCode: [39]}},
},
{ {
type: 'key_sequence', type: 'key_sequence',
value: {cvoxModifier: true, keys: {keyCode: [32]}}, value: {cvoxModifier: true, keys: {keyCode: [32]}},
...@@ -197,13 +180,11 @@ Polymer({ ...@@ -197,13 +180,11 @@ Polymer({
}, },
{ {
content: [`In addition to ChromeVox navigation, you can also content: [
use built-in keyboard commands to navigate the screen. ChromeVox `You can also use the Tab key to move to the next interactive item
will respect these commands and they work even when ChromeVox is on the screen. Find the Tab key, which is directly above the Search
off. The first example we have is Tab. Pressing Tab will move key. To continue, press the Tab key.`
keyboard focus, which ChromeVox will follow, to the next focusable ],
element. Try pressing the Tab key, which is located directly above
the Search key.`],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
actions: [{ actions: [{
...@@ -216,8 +197,8 @@ Polymer({ ...@@ -216,8 +197,8 @@ Polymer({
{ {
content: [ content: [
`You can use Tab + Shift to move to the previous focusable element. `You can use Shift + Tab to move to the previous interactive item.
Try pressing the two together to move to the next lesson.` To continue, press Shift + Tab. `
], ],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
...@@ -229,10 +210,9 @@ Polymer({ ...@@ -229,10 +210,9 @@ Polymer({
}, },
{ {
content: [`Similar to using Search + Space, you can also use Enter to content: [`You can also press Enter to activate items. For example,
activate elements. For example, Enter can be used to submit Enter can be used to submit text in a form. To continue, press
text in a form field. Try pressing Enter now to move to the next Enter.`],
lesson.`],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
actions: [ actions: [
...@@ -242,18 +222,21 @@ Polymer({ ...@@ -242,18 +222,21 @@ Polymer({
}, },
{ {
content: [`Lastly, you will frequently encounter elements which content: [
require you to select an item out of a list of choices. You can use `There will be times when you need to select an item from a
the up and down arrow keys to cycle through items. When you've found drop-down list. To do so, first expand the list by pressing Enter
the item you want to choose, you can simply stop pressing the arrow or Search + Space. Then use the Up and Down arrow keys to select
keys. If you wish to practice this skill, find the Practice Area an item. Finally, collapse the list by pressing Enter or Search +
button and press Enter or Search + Space to activate it. Otherwise, Space.`,
find and press the Next Lesson button.`], `You can try this out in the Practice Area. To continue, use Search
+ Right or Tab to find the Next lesson button. Then press Search
+ Space or Enter to activate.`
],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
practiceTitle: 'Practice Using Drop-Down Lists', practiceTitle: 'Practice area: Drop-down lists',
practiceInstructions: practiceInstructions:
`Try setting your favorite season from the list below.`, `Try selecting your favorite season from the list.`,
practiceFile: 'selects', practiceFile: 'selects',
practiceState: {}, practiceState: {},
events: [], events: [],
...@@ -263,11 +246,11 @@ Polymer({ ...@@ -263,11 +246,11 @@ Polymer({
{ {
title: 'Basic orientation complete!', title: 'Basic orientation complete!',
content: [ content: [
`Well done! You have learned the basics of ChromeVox. You can `Well done! You’ve learned the ChromeVox basics. You can go through
replay the basic orientation or exit this tutorial by the tutorial again or exit this tutorial by finding and clicking
finding and activating the respective button below.`, on a button below.`,
`After you setup your device, you can come back to this tutorial `After you set up your device, you can come back to this tutorial
and view more lessons by pressing Search + O, then T.`, and view more lessons by pressing Search + O, then T.`,
], ],
medium: InteractionMedium.KEYBOARD, medium: InteractionMedium.KEYBOARD,
curriculums: [Curriculum.OOBE], curriculums: [Curriculum.OOBE],
......
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