OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 /** | 6 /** |
7 * @fileoverview This class acts as the persistent store for all static data | 7 * @fileoverview This class acts as the persistent store for all static data |
8 * about commands. | 8 * about commands. |
9 * | 9 * |
10 * This store can safely be used within either a content or background script | 10 * This store can safely be used within either a content or background script |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 * skipInput: Explicitly skips this command when text input has focus. | 125 * skipInput: Explicitly skips this command when text input has focus. |
126 * Defaults to false. | 126 * Defaults to false. |
127 * disallowOOBE: Explicitly disallows this command when on chrome://oobe/*. | 127 * disallowOOBE: Explicitly disallows this command when on chrome://oobe/*. |
128 * Defaults to false. | 128 * Defaults to false. |
129 * allowEvents: Allows EventWatcher to continue processing events which can | 129 * allowEvents: Allows EventWatcher to continue processing events which can |
130 * trump TTS. | 130 * trump TTS. |
131 * disallowContinuation: Disallows continuous read to proceed. Defaults to | 131 * disallowContinuation: Disallows continuous read to proceed. Defaults to |
132 * false. | 132 * false. |
133 */ | 133 */ |
134 cvox.CommandStore.CMD_WHITELIST = { | 134 cvox.CommandStore.CMD_WHITELIST = { |
135 'toggleStickyMode': {announce: false, | 135 'toggleStickyMode': { |
136 msgId: 'toggle_sticky_mode', | 136 announce: false, |
137 'disallowOOBE': true, | 137 msgId: 'toggle_sticky_mode', |
138 category: 'modifier_keys'}, | 138 'disallowOOBE': true, |
139 'toggleKeyPrefix': {announce: false, | 139 category: 'modifier_keys' |
140 skipInput: true, | 140 }, |
141 msgId: 'prefix_key', | 141 'toggleKeyPrefix': { |
142 'disallowOOBE': true, | 142 announce: false, |
143 category: 'modifier_keys'}, | 143 skipInput: true, |
144 'passThroughMode': {announce: false, | 144 msgId: 'prefix_key', |
145 msgId: 'pass_through_key_description', | 145 'disallowOOBE': true, |
146 category: 'modifier_keys'}, | 146 category: 'modifier_keys' |
147 | 147 }, |
148 'stopSpeech': {announce: false, | 148 'passThroughMode': { |
149 disallowContinuation: true, | 149 announce: false, |
150 doDefault: true, | 150 msgId: 'pass_through_key_description', |
151 msgId: 'stop_speech_key', | 151 category: 'modifier_keys' |
152 category: 'controlling_speech'}, | 152 }, |
153 'toggleChromeVox': {announce: false, | 153 |
154 platformFilter: cvox.PlatformFilter.WML, | 154 'stopSpeech': { |
155 msgId: 'toggle_chromevox_active', | 155 announce: false, |
156 category: 'modifier_keys'}, | 156 disallowContinuation: true, |
| 157 doDefault: true, |
| 158 msgId: 'stop_speech_key', |
| 159 category: 'controlling_speech' |
| 160 }, |
| 161 'toggleChromeVox': { |
| 162 announce: false, |
| 163 platformFilter: cvox.PlatformFilter.WML, |
| 164 msgId: 'toggle_chromevox_active', |
| 165 category: 'modifier_keys' |
| 166 }, |
157 'toggleChromeVoxVersion': {announce: false}, | 167 'toggleChromeVoxVersion': {announce: false}, |
158 'showNextUpdatePage': { | 168 'showNextUpdatePage': { |
159 msgId: 'show_next_update_description', | 169 msgId: 'show_next_update_description', |
160 announce: false, 'category': 'help_commands'}, | 170 announce: false, |
161 'openChromeVoxMenus': {announce: false, | 171 'category': 'help_commands' |
162 msgId: 'menus_title'}, | 172 }, |
163 'decreaseTtsRate': {announce: false, | 173 'openChromeVoxMenus': {announce: false, msgId: 'menus_title'}, |
164 msgId: 'decrease_tts_rate', | 174 'decreaseTtsRate': { |
165 category: 'controlling_speech'}, | 175 announce: false, |
166 'increaseTtsRate': {announce: false, | 176 msgId: 'decrease_tts_rate', |
167 msgId: 'increase_tts_rate', | 177 category: 'controlling_speech' |
168 category: 'controlling_speech'}, | 178 }, |
169 'decreaseTtsPitch': {announce: false, | 179 'increaseTtsRate': { |
170 msgId: 'decrease_tts_pitch', | 180 announce: false, |
171 category: 'controlling_speech'}, | 181 msgId: 'increase_tts_rate', |
172 'increaseTtsPitch': {announce: false, | 182 category: 'controlling_speech' |
173 msgId: 'increase_tts_pitch', | 183 }, |
174 category: 'controlling_speech'}, | 184 'decreaseTtsPitch': { |
175 'decreaseTtsVolume': {announce: false, | 185 announce: false, |
176 msgId: 'decrease_tts_volume', | 186 msgId: 'decrease_tts_pitch', |
177 category: 'controlling_speech'}, | 187 category: 'controlling_speech' |
178 'increaseTtsVolume': {announce: false, | 188 }, |
179 msgId: 'increase_tts_volume', | 189 'increaseTtsPitch': { |
180 category: 'controlling_speech'}, | 190 announce: false, |
181 'cyclePunctuationEcho': {announce: false, | 191 msgId: 'increase_tts_pitch', |
182 msgId: 'cycle_punctuation_echo', | 192 category: 'controlling_speech' |
183 category: 'controlling_speech'}, | 193 }, |
184 'cycleTypingEcho': {announce: false, | 194 'decreaseTtsVolume': { |
185 msgId: 'cycle_typing_echo', | 195 announce: false, |
186 category: 'controlling_speech'}, | 196 msgId: 'decrease_tts_volume', |
187 | 197 category: 'controlling_speech' |
188 | 198 }, |
189 'toggleEarcons': {announce: true, | 199 'increaseTtsVolume': { |
190 msgId: 'toggle_earcons', | 200 announce: false, |
191 category: 'controlling_speech'}, | 201 msgId: 'increase_tts_volume', |
192 | 202 category: 'controlling_speech' |
193 'toggleSpeechOnOrOff': { | 203 }, |
194 msgId: 'speech_on_off_description', | 204 'cyclePunctuationEcho': { |
195 category: 'controlling_speech' | 205 announce: false, |
196 }, | 206 msgId: 'cycle_punctuation_echo', |
| 207 category: 'controlling_speech' |
| 208 }, |
| 209 'cycleTypingEcho': { |
| 210 announce: false, |
| 211 msgId: 'cycle_typing_echo', |
| 212 category: 'controlling_speech' |
| 213 }, |
| 214 |
| 215 |
| 216 'toggleEarcons': |
| 217 {announce: true, msgId: 'toggle_earcons', category: 'controlling_speech'}, |
| 218 |
| 219 'toggleSpeechOnOrOff': |
| 220 {msgId: 'speech_on_off_description', category: 'controlling_speech'}, |
197 | 221 |
198 'handleTab': { | 222 'handleTab': { |
199 allowEvents: true, | 223 allowEvents: true, |
200 msgId: 'handle_tab_next', | 224 msgId: 'handle_tab_next', |
201 disallowContinuation: true, | 225 disallowContinuation: true, |
202 category: 'navigation'}, | 226 category: 'navigation' |
| 227 }, |
203 'handleTabPrev': { | 228 'handleTabPrev': { |
204 allowEvents: true, | 229 allowEvents: true, |
205 msgId: 'handle_tab_prev', | 230 msgId: 'handle_tab_prev', |
206 disallowContinuation: true, | 231 disallowContinuation: true, |
207 category: 'navigation'}, | 232 category: 'navigation' |
208 'forward': {forward: true, | 233 }, |
209 announce: true, | 234 'forward': |
210 msgId: 'forward', | 235 {forward: true, announce: true, msgId: 'forward', category: 'navigation'}, |
211 category: 'navigation'}, | 236 'backward': { |
212 'backward': {backward: true, | 237 backward: true, |
213 announce: true, | 238 announce: true, |
214 msgId: 'backward', | 239 msgId: 'backward', |
215 category: 'navigation'}, | 240 category: 'navigation' |
216 'right': {forward: true, | 241 }, |
217 announce: true, | 242 'right': |
218 msgId: 'right', | 243 {forward: true, announce: true, msgId: 'right', category: 'navigation'}, |
219 category: 'navigation'}, | 244 'left': |
220 'left': {backward: true, | 245 {backward: true, announce: true, msgId: 'left', category: 'navigation'}, |
221 announce: true, | 246 'previousGranularity': |
222 msgId: 'left', | 247 {announce: true, msgId: 'previous_granularity', category: 'navigation'}, |
223 category: 'navigation'}, | 248 'nextGranularity': |
224 'previousGranularity': {announce: true, | 249 {announce: true, msgId: 'next_granularity', category: 'navigation'}, |
225 msgId: 'previous_granularity', | 250 |
226 category: 'navigation'}, | 251 'previousCharacter': { |
227 'nextGranularity': {announce: true, | 252 backward: true, |
228 msgId: 'next_granularity', | 253 announce: true, |
229 category: 'navigation'}, | 254 msgId: 'previous_character', |
230 | 255 skipInput: true, |
231 'previousCharacter': {backward: true, | 256 category: 'navigation' |
232 announce: true, | 257 }, |
233 msgId: 'previous_character', | 258 'nextCharacter': { |
234 skipInput: true, | 259 forward: true, |
235 category: 'navigation'}, | 260 announce: true, |
236 'nextCharacter': {forward: true, | 261 msgId: 'next_character', |
237 announce: true, | 262 skipInput: true, |
238 msgId: 'next_character', | 263 category: 'navigation' |
239 skipInput: true, | 264 }, |
240 category: 'navigation'}, | 265 'previousWord': { |
241 'previousWord': {backward: true, | 266 backward: true, |
242 announce: true, | 267 announce: true, |
243 msgId: 'previous_word', | 268 msgId: 'previous_word', |
244 skipInput: true, | 269 skipInput: true, |
245 category: 'navigation'}, | 270 category: 'navigation' |
246 'nextWord': {forward: true, | 271 }, |
247 announce: true, | 272 'nextWord': { |
248 msgId: 'next_word', | 273 forward: true, |
249 skipInput: true, | 274 announce: true, |
250 category: 'navigation'}, | 275 msgId: 'next_word', |
251 'previousLine': {backward: true, | 276 skipInput: true, |
252 announce: true, | 277 category: 'navigation' |
253 msgId: 'previous_line', | 278 }, |
254 category: 'navigation'}, | 279 'previousLine': { |
255 'nextLine': {forward: true, | 280 backward: true, |
256 announce: true, | 281 announce: true, |
257 msgId: 'next_line', | 282 msgId: 'previous_line', |
258 category: 'navigation'}, | 283 category: 'navigation' |
259 'previousSentence': {backward: true, | 284 }, |
260 announce: true, | 285 'nextLine': { |
261 msgId: 'previous_sentence', | 286 forward: true, |
262 skipInput: true, | 287 announce: true, |
263 category: 'navigation'}, | 288 msgId: 'next_line', |
264 'nextSentence': {forward: true, | 289 category: 'navigation' |
265 announce: true, | 290 }, |
266 msgId: 'next_sentence', | 291 'previousSentence': { |
267 skipInput: true, | 292 backward: true, |
268 category: 'navigation'}, | 293 announce: true, |
269 'previousObject': {backward: true, | 294 msgId: 'previous_sentence', |
270 announce: true, | 295 skipInput: true, |
271 msgId: 'previous_object', | 296 category: 'navigation' |
272 skipInput: true, | 297 }, |
273 category: 'navigation'}, | 298 'nextSentence': { |
274 'nextObject': {forward: true, | 299 forward: true, |
275 announce: true, | 300 announce: true, |
276 msgId: 'next_object', | 301 msgId: 'next_sentence', |
277 skipInput: true, | 302 skipInput: true, |
278 category: 'navigation'}, | 303 category: 'navigation' |
279 'previousGroup': {backward: true, | 304 }, |
280 announce: true, | 305 'previousObject': { |
281 msgId: 'previous_group', | 306 backward: true, |
282 skipInput: true, | 307 announce: true, |
283 category: 'navigation'}, | 308 msgId: 'previous_object', |
284 'nextGroup': {forward: true, | 309 skipInput: true, |
285 announce: true, | 310 category: 'navigation' |
286 msgId: 'next_group', | 311 }, |
287 skipInput: true, | 312 'nextObject': { |
288 category: 'navigation'}, | 313 forward: true, |
289 | 314 announce: true, |
290 'jumpToTop': {forward: true, | 315 msgId: 'next_object', |
291 announce: true, | 316 skipInput: true, |
292 msgId: 'jump_to_top', | 317 category: 'navigation' |
293 category: 'navigation' | 318 }, |
294 }, | 319 'previousGroup': { |
295 'jumpToBottom': {backward: true, | 320 backward: true, |
296 announce: true, | 321 announce: true, |
297 msgId: 'jump_to_bottom', | 322 msgId: 'previous_group', |
298 category: 'navigation'}, | 323 skipInput: true, |
| 324 category: 'navigation' |
| 325 }, |
| 326 'nextGroup': { |
| 327 forward: true, |
| 328 announce: true, |
| 329 msgId: 'next_group', |
| 330 skipInput: true, |
| 331 category: 'navigation' |
| 332 }, |
| 333 |
| 334 'jumpToTop': { |
| 335 forward: true, |
| 336 announce: true, |
| 337 msgId: 'jump_to_top', |
| 338 category: 'navigation' |
| 339 }, |
| 340 'jumpToBottom': { |
| 341 backward: true, |
| 342 announce: true, |
| 343 msgId: 'jump_to_bottom', |
| 344 category: 'navigation' |
| 345 }, |
299 // Intentionally uncategorized. | 346 // Intentionally uncategorized. |
300 'moveToStartOfLine': {forward: true, announce: true}, | 347 'moveToStartOfLine': {forward: true, announce: true}, |
301 'moveToEndOfLine': {backward: true, announce: true}, | 348 'moveToEndOfLine': {backward: true, announce: true}, |
302 | 349 |
303 'readFromHere': {forward: true, | 350 'readFromHere': { |
304 announce: false, | 351 forward: true, |
305 msgId: 'read_from_here', | 352 announce: false, |
306 category: 'navigation'}, | 353 msgId: 'read_from_here', |
307 | 354 category: 'navigation' |
308 'performDefaultAction': {disallowContinuation: true, | 355 }, |
309 msgId: 'perform_default_action', | 356 |
310 doDefault: true, | 357 'performDefaultAction': { |
311 skipInput: true, | 358 disallowContinuation: true, |
312 category: 'navigation'}, | 359 msgId: 'perform_default_action', |
313 'forceClickOnCurrentItem': {announce: true, | 360 doDefault: true, |
314 disallowContinuation: true, | 361 skipInput: true, |
315 allowEvents: true, | 362 category: 'navigation' |
316 msgId: 'force_click_on_current_item', | 363 }, |
317 category: 'navigation'}, | 364 'forceClickOnCurrentItem': { |
318 'forceDoubleClickOnCurrentItem': {announce: true, | 365 announce: true, |
319 allowEvents: true, | 366 disallowContinuation: true, |
320 disallowContinuation: true}, | 367 allowEvents: true, |
321 | 368 msgId: 'force_click_on_current_item', |
322 'readLinkURL': {announce: false, | 369 category: 'navigation' |
323 msgId: 'read_link_url', | 370 }, |
324 category: 'information'}, | 371 'forceDoubleClickOnCurrentItem': |
325 'readCurrentTitle': {announce: false, | 372 {announce: true, allowEvents: true, disallowContinuation: true}, |
326 msgId: 'read_current_title', | 373 |
327 category: 'information'}, | 374 'readLinkURL': |
328 'readCurrentURL': {announce: false, | 375 {announce: false, msgId: 'read_link_url', category: 'information'}, |
329 msgId: 'read_current_url', | 376 'readCurrentTitle': |
330 category: 'information'}, | 377 {announce: false, msgId: 'read_current_title', category: 'information'}, |
331 | 378 'readCurrentURL': |
332 'fullyDescribe': {announce: false, | 379 {announce: false, msgId: 'read_current_url', category: 'information'}, |
333 msgId: 'fully_describe', | 380 |
334 category: 'information'}, | 381 'fullyDescribe': |
335 'speakTimeAndDate': {announce: false, | 382 {announce: false, msgId: 'fully_describe', category: 'information'}, |
336 msgId: 'speak_time_and_date', | 383 'speakTimeAndDate': |
337 category: 'information'}, | 384 {announce: false, msgId: 'speak_time_and_date', category: 'information'}, |
338 'toggleSelection': {announce: true, | 385 'toggleSelection': |
339 msgId: 'toggle_selection', | 386 {announce: true, msgId: 'toggle_selection', category: 'information'}, |
340 category: 'information'}, | 387 |
341 | 388 'toggleSearchWidget': { |
342 'toggleSearchWidget': {announce: false, | 389 announce: false, |
343 disallowContinuation: true, | 390 disallowContinuation: true, |
344 msgId: 'toggle_search_widget', | 391 msgId: 'toggle_search_widget', |
345 category: 'information'}, | 392 category: 'information' |
346 | 393 }, |
347 'undarkenScreen': { | 394 |
348 msgId: 'undarken_screen', | 395 'undarkenScreen': {msgId: 'undarken_screen', category: 'help_commands'}, |
| 396 |
| 397 'darkenScreen': {msgId: 'darken_screen', category: 'help_commands'}, |
| 398 |
| 399 'toggleBrailleTable': |
| 400 {msgId: 'toggle_braille_table', category: 'help_commands'}, |
| 401 |
| 402 'toggleKeyboardHelp': { |
| 403 announce: false, |
| 404 disallowContinuation: true, |
| 405 msgId: 'show_power_key', |
349 category: 'help_commands' | 406 category: 'help_commands' |
350 }, | 407 }, |
351 | 408 'help': { |
352 'darkenScreen': { | 409 announce: false, |
353 msgId: 'darken_screen', | 410 msgId: 'help', |
| 411 'disallowOOBE': true, |
| 412 disallowContinuation: true, |
354 category: 'help_commands' | 413 category: 'help_commands' |
355 }, | 414 }, |
356 | 415 'contextMenu': { |
357 'toggleBrailleTable': { | 416 announce: false, |
358 msgId: 'toggle_braille_table', | 417 msgId: 'show_context_menu', |
| 418 disallowContinuation: true, |
| 419 category: 'information' |
| 420 }, |
| 421 |
| 422 'showOptionsPage': { |
| 423 announce: false, |
| 424 disallowContinuation: true, |
| 425 msgId: 'show_options_page', |
| 426 'disallowOOBE': true, |
359 category: 'help_commands' | 427 category: 'help_commands' |
360 }, | 428 }, |
361 | 429 'showKbExplorerPage': { |
362 'toggleKeyboardHelp': {announce: false, | 430 announce: false, |
363 disallowContinuation: true, | 431 disallowContinuation: true, |
364 msgId: 'show_power_key', | 432 msgId: 'show_kb_explorer_page', |
365 category: 'help_commands'}, | 433 'disallowOOBE': true, |
366 'help': {announce: false, | 434 category: 'help_commands' |
367 msgId: 'help', | 435 }, |
368 'disallowOOBE': true, | 436 'toggleBrailleCaptions': |
369 disallowContinuation: true, | 437 {announce: false, msgId: 'braille_captions', category: 'help_commands'}, |
370 category: 'help_commands'}, | 438 'reportIssue': { |
371 'contextMenu': {announce: false, | 439 announce: false, |
372 msgId: 'show_context_menu', | 440 msgId: 'panel_menu_item_report_issue', |
373 disallowContinuation: true, | 441 category: 'help_commands' |
374 category: 'information'}, | 442 }, |
375 | 443 |
376 'showOptionsPage': {announce: false, | 444 'showFormsList': { |
377 disallowContinuation: true, | 445 announce: false, |
378 msgId: 'show_options_page', | 446 disallowContinuation: true, |
379 'disallowOOBE': true, | 447 nodeList: 'formField', |
380 category: 'help_commands'}, | 448 msgId: 'show_forms_list', |
381 'showKbExplorerPage': {announce: false, | 449 category: 'overview' |
382 disallowContinuation: true, | 450 }, |
383 msgId: 'show_kb_explorer_page', | 451 'showHeadingsList': { |
384 'disallowOOBE': true, | 452 announce: false, |
385 category: 'help_commands'}, | 453 nodeList: 'heading', |
386 'toggleBrailleCaptions': {announce: false, | 454 disallowContinuation: true, |
387 msgId: 'braille_captions', | 455 msgId: 'show_headings_list', |
388 category: 'help_commands'}, | 456 category: 'overview' |
389 'reportIssue': {announce: false, | 457 }, |
390 msgId: 'panel_menu_item_report_issue', | 458 'showLandmarksList': { |
391 category: 'help_commands'}, | 459 announce: false, |
392 | 460 nodeList: 'landmark', |
393 'showFormsList': {announce: false, | 461 disallowContinuation: true, |
394 disallowContinuation: true, | 462 msgId: 'show_landmarks_list', |
395 nodeList: 'formField', | 463 category: 'overview' |
396 msgId: 'show_forms_list', | 464 }, |
397 category: 'overview'}, | 465 'showLinksList': { |
398 'showHeadingsList': {announce: false, nodeList: 'heading', | 466 announce: false, |
399 disallowContinuation: true, | 467 nodeList: 'link', |
400 msgId: 'show_headings_list', | 468 disallowContinuation: true, |
401 category: 'overview'}, | 469 msgId: 'show_links_list', |
402 'showLandmarksList': {announce: false, nodeList: 'landmark', | 470 category: 'overview' |
403 disallowContinuation: true, | 471 }, |
404 msgId: 'show_landmarks_list', | 472 'showTablesList': { |
405 category: 'overview'}, | 473 announce: false, |
406 'showLinksList': {announce: false, nodeList: 'link', | 474 nodeList: 'table', |
407 disallowContinuation: true, | 475 disallowContinuation: true, |
408 msgId: 'show_links_list', | 476 msgId: 'show_tables_list', |
409 category: 'overview'}, | 477 category: 'overview' |
410 'showTablesList': {announce: false, nodeList: 'table', | 478 }, |
411 disallowContinuation: true, | 479 |
412 msgId: 'show_tables_list', | 480 'nextArticle': {forward: true, findNext: 'article'}, |
413 category: 'overview'}, | 481 |
414 | 482 'nextButton': { |
415 'nextArticle': {forward: true, | 483 forward: true, |
416 findNext: 'article'}, | 484 findNext: 'button', |
417 | 485 msgId: 'next_button', |
418 'nextButton': {forward: true, | 486 category: 'jump_commands' |
419 findNext: 'button', | 487 }, |
420 msgId: 'next_button', | 488 'nextCheckbox': { |
421 category: 'jump_commands'}, | 489 forward: true, |
422 'nextCheckbox': {forward: true, | 490 findNext: 'checkbox', |
423 findNext: 'checkbox', | 491 msgId: 'next_checkbox', |
424 msgId: 'next_checkbox', | 492 category: 'jump_commands' |
425 category: 'jump_commands'}, | 493 }, |
426 'nextComboBox': {forward: true, | 494 'nextComboBox': { |
427 findNext: 'combobox', | 495 forward: true, |
428 msgId: 'next_combo_box', | 496 findNext: 'combobox', |
429 category: 'jump_commands'}, | 497 msgId: 'next_combo_box', |
| 498 category: 'jump_commands' |
| 499 }, |
430 'nextControl': {forward: true, findNext: 'control'}, | 500 'nextControl': {forward: true, findNext: 'control'}, |
431 'nextEditText': {forward: true, | 501 'nextEditText': { |
432 findNext: 'editText', | 502 forward: true, |
433 msgId: 'next_edit_text', | 503 findNext: 'editText', |
434 category: 'jump_commands'}, | 504 msgId: 'next_edit_text', |
435 'nextFormField': {forward: true, | 505 category: 'jump_commands' |
436 findNext: 'formField', | 506 }, |
437 msgId: 'next_form_field', | 507 'nextFormField': { |
438 category: 'jump_commands'}, | 508 forward: true, |
439 'nextGraphic': {forward: true, | 509 findNext: 'formField', |
440 findNext: 'graphic', | 510 msgId: 'next_form_field', |
441 msgId: 'next_graphic', | 511 category: 'jump_commands' |
442 category: 'jump_commands'}, | 512 }, |
443 'nextHeading': {forward: true, | 513 'nextGraphic': { |
444 findNext: 'heading', | 514 forward: true, |
445 msgId: 'next_heading', | 515 findNext: 'graphic', |
446 category: 'jump_commands'}, | 516 msgId: 'next_graphic', |
447 'nextHeading1': {forward: true, | 517 category: 'jump_commands' |
448 findNext: 'heading1', | 518 }, |
449 msgId: 'next_heading1', | 519 'nextHeading': { |
450 category: 'jump_commands'}, | 520 forward: true, |
451 'nextHeading2': {forward: true, | 521 findNext: 'heading', |
452 findNext: 'heading2', | 522 msgId: 'next_heading', |
453 msgId: 'next_heading2', | 523 category: 'jump_commands' |
454 category: 'jump_commands'}, | 524 }, |
455 'nextHeading3': {forward: true, | 525 'nextHeading1': { |
456 findNext: 'heading3', | 526 forward: true, |
457 msgId: 'next_heading3', | 527 findNext: 'heading1', |
458 category: 'jump_commands'}, | 528 msgId: 'next_heading1', |
459 'nextHeading4': {forward: true, | 529 category: 'jump_commands' |
460 findNext: 'heading4', | 530 }, |
461 msgId: 'next_heading4', | 531 'nextHeading2': { |
462 category: 'jump_commands'}, | 532 forward: true, |
463 'nextHeading5': {forward: true, | 533 findNext: 'heading2', |
464 findNext: 'heading5', | 534 msgId: 'next_heading2', |
465 msgId: 'next_heading5', | 535 category: 'jump_commands' |
466 category: 'jump_commands'}, | 536 }, |
467 'nextHeading6': {forward: true, | 537 'nextHeading3': { |
468 findNext: 'heading6', | 538 forward: true, |
469 msgId: 'next_heading6', | 539 findNext: 'heading3', |
470 category: 'jump_commands'}, | 540 msgId: 'next_heading3', |
471 | 541 category: 'jump_commands' |
472 'nextLandmark': {forward: true, | 542 }, |
473 findNext: 'landmark', | 543 'nextHeading4': { |
474 msgId: 'next_landmark', | 544 forward: true, |
475 category: 'jump_commands'}, | 545 findNext: 'heading4', |
476 'nextLink': {forward: true, | 546 msgId: 'next_heading4', |
477 findNext: 'link', | 547 category: 'jump_commands' |
478 msgId: 'next_link', | 548 }, |
479 category: 'jump_commands'}, | 549 'nextHeading5': { |
480 'nextList': {forward: true, | 550 forward: true, |
481 findNext: 'list', | 551 findNext: 'heading5', |
482 msgId: 'next_list', | 552 msgId: 'next_heading5', |
483 category: 'jump_commands'}, | 553 category: 'jump_commands' |
484 'nextListItem': {forward: true, | 554 }, |
485 findNext: 'listItem', | 555 'nextHeading6': { |
486 msgId: 'next_list_item', | 556 forward: true, |
487 category: 'jump_commands'}, | 557 findNext: 'heading6', |
488 'nextMath': {forward: true, | 558 msgId: 'next_heading6', |
489 findNext: 'math', | 559 category: 'jump_commands' |
490 msgId: 'next_math', | 560 }, |
491 category: 'jump_commands'}, | 561 |
492 'nextMedia': {forward: true, | 562 'nextLandmark': { |
493 findNext: 'media', | 563 forward: true, |
494 msgId: 'next_media', | 564 findNext: 'landmark', |
495 category: 'jump_commands'}, | 565 msgId: 'next_landmark', |
496 'nextRadio': {forward: true, | 566 category: 'jump_commands' |
497 findNext: 'radio', | 567 }, |
498 msgId: 'next_radio', | 568 'nextLink': { |
499 category: 'jump_commands'}, | 569 forward: true, |
| 570 findNext: 'link', |
| 571 msgId: 'next_link', |
| 572 category: 'jump_commands' |
| 573 }, |
| 574 'nextList': { |
| 575 forward: true, |
| 576 findNext: 'list', |
| 577 msgId: 'next_list', |
| 578 category: 'jump_commands' |
| 579 }, |
| 580 'nextListItem': { |
| 581 forward: true, |
| 582 findNext: 'listItem', |
| 583 msgId: 'next_list_item', |
| 584 category: 'jump_commands' |
| 585 }, |
| 586 'nextMath': { |
| 587 forward: true, |
| 588 findNext: 'math', |
| 589 msgId: 'next_math', |
| 590 category: 'jump_commands' |
| 591 }, |
| 592 'nextMedia': { |
| 593 forward: true, |
| 594 findNext: 'media', |
| 595 msgId: 'next_media', |
| 596 category: 'jump_commands' |
| 597 }, |
| 598 'nextRadio': { |
| 599 forward: true, |
| 600 findNext: 'radio', |
| 601 msgId: 'next_radio', |
| 602 category: 'jump_commands' |
| 603 }, |
500 'nextSection': {forward: true, findNext: 'section'}, | 604 'nextSection': {forward: true, findNext: 'section'}, |
501 'nextSlider': {forward: true, findNext: 'slider'}, | 605 'nextSlider': {forward: true, findNext: 'slider'}, |
502 'nextTable': {forward: true, | 606 'nextTable': { |
503 findNext: 'table', | 607 forward: true, |
504 msgId: 'next_table', | 608 findNext: 'table', |
505 category: 'jump_commands'}, | 609 msgId: 'next_table', |
506 'nextVisitedLink': {forward: true, | 610 category: 'jump_commands' |
507 findNext: 'visitedLink', | 611 }, |
508 msgId: 'next_visited_link', | 612 'nextVisitedLink': { |
509 category: 'jump_commands'}, | 613 forward: true, |
510 | 614 findNext: 'visitedLink', |
511 | 615 msgId: 'next_visited_link', |
512 'previousArticle': {backward: true, | 616 category: 'jump_commands' |
513 findNext: 'article'}, | 617 }, |
514 | 618 |
515 'previousButton': {backward: true, | 619 |
516 findNext: 'button', | 620 'previousArticle': {backward: true, findNext: 'article'}, |
517 msgId: 'previous_button', | 621 |
518 category: 'jump_commands'}, | 622 'previousButton': { |
519 'previousCheckbox': {backward: true, | 623 backward: true, |
520 findNext: 'checkbox', | 624 findNext: 'button', |
521 msgId: 'previous_checkbox', | 625 msgId: 'previous_button', |
522 category: 'jump_commands'}, | 626 category: 'jump_commands' |
523 'previousComboBox': {backward: true, | 627 }, |
524 findNext: 'combobox', | 628 'previousCheckbox': { |
525 msgId: 'previous_combo_box', | 629 backward: true, |
526 category: 'jump_commands'}, | 630 findNext: 'checkbox', |
| 631 msgId: 'previous_checkbox', |
| 632 category: 'jump_commands' |
| 633 }, |
| 634 'previousComboBox': { |
| 635 backward: true, |
| 636 findNext: 'combobox', |
| 637 msgId: 'previous_combo_box', |
| 638 category: 'jump_commands' |
| 639 }, |
527 'previousControl': {backward: true, findNext: 'control'}, | 640 'previousControl': {backward: true, findNext: 'control'}, |
528 'previousEditText': {backward: true, | 641 'previousEditText': { |
529 findNext: 'editText', | 642 backward: true, |
530 msgId: 'previous_edit_text', | 643 findNext: 'editText', |
531 category: 'jump_commands'}, | 644 msgId: 'previous_edit_text', |
532 'previousFormField': {backward: true, | 645 category: 'jump_commands' |
533 findNext: 'formField', | 646 }, |
534 msgId: 'previous_form_field', | 647 'previousFormField': { |
535 category: 'jump_commands'}, | 648 backward: true, |
536 'previousGraphic': {backward: true, | 649 findNext: 'formField', |
537 findNext: 'graphic', | 650 msgId: 'previous_form_field', |
538 msgId: 'previous_graphic', | 651 category: 'jump_commands' |
539 category: 'jump_commands'}, | 652 }, |
540 'previousHeading': {backward: true, | 653 'previousGraphic': { |
541 findNext: 'heading', | 654 backward: true, |
542 msgId: 'previous_heading', | 655 findNext: 'graphic', |
543 category: 'jump_commands'}, | 656 msgId: 'previous_graphic', |
544 'previousHeading1': {backward: true, | 657 category: 'jump_commands' |
545 findNext: 'heading1', | 658 }, |
546 msgId: 'previous_heading1', | 659 'previousHeading': { |
547 category: 'jump_commands'}, | 660 backward: true, |
548 'previousHeading2': {backward: true, | 661 findNext: 'heading', |
549 findNext: 'heading2', | 662 msgId: 'previous_heading', |
550 msgId: 'previous_heading2', | 663 category: 'jump_commands' |
551 category: 'jump_commands'}, | 664 }, |
552 'previousHeading3': {backward: true, | 665 'previousHeading1': { |
553 findNext: 'heading3', | 666 backward: true, |
554 msgId: 'previous_heading3', | 667 findNext: 'heading1', |
555 category: 'jump_commands'}, | 668 msgId: 'previous_heading1', |
556 'previousHeading4': {backward: true, | 669 category: 'jump_commands' |
557 findNext: 'heading4', | 670 }, |
558 msgId: 'previous_heading4', | 671 'previousHeading2': { |
559 category: 'jump_commands'}, | 672 backward: true, |
560 'previousHeading5': {backward: true, | 673 findNext: 'heading2', |
561 findNext: 'heading5', | 674 msgId: 'previous_heading2', |
562 msgId: 'previous_heading5', | 675 category: 'jump_commands' |
563 category: 'jump_commands'}, | 676 }, |
564 'previousHeading6': {backward: true, | 677 'previousHeading3': { |
565 findNext: 'heading6', | 678 backward: true, |
566 msgId: 'previous_heading6', | 679 findNext: 'heading3', |
567 category: 'jump_commands'}, | 680 msgId: 'previous_heading3', |
568 | 681 category: 'jump_commands' |
569 'previousLandmark': {backward: true, | 682 }, |
570 findNext: 'landmark', | 683 'previousHeading4': { |
571 msgId: 'previous_landmark', | 684 backward: true, |
572 category: 'jump_commands'}, | 685 findNext: 'heading4', |
573 'previousLink': {backward: true, | 686 msgId: 'previous_heading4', |
574 findNext: 'link', | 687 category: 'jump_commands' |
575 msgId: 'previous_link', | 688 }, |
576 category: 'jump_commands'}, | 689 'previousHeading5': { |
577 'previousList': {backward: true, | 690 backward: true, |
578 findNext: 'list', | 691 findNext: 'heading5', |
579 msgId: 'previous_list', | 692 msgId: 'previous_heading5', |
580 category: 'jump_commands'}, | 693 category: 'jump_commands' |
581 'previousListItem': {backward: true, | 694 }, |
582 findNext: 'listItem', | 695 'previousHeading6': { |
583 msgId: 'previous_list_item', | 696 backward: true, |
584 category: 'jump_commands'}, | 697 findNext: 'heading6', |
585 'previousMath': {backward: true, | 698 msgId: 'previous_heading6', |
586 findNext: 'math', | 699 category: 'jump_commands' |
587 msgId: 'previous_math', | 700 }, |
588 category: 'jump_commands'}, | 701 |
589 'previousMedia': {backward: true, | 702 'previousLandmark': { |
590 findNext: 'media', | 703 backward: true, |
591 msgId: 'previous_media', | 704 findNext: 'landmark', |
592 category: 'jump_commands'}, | 705 msgId: 'previous_landmark', |
593 'previousRadio': {backward: true, | 706 category: 'jump_commands' |
594 findNext: 'radio', | 707 }, |
595 msgId: 'previous_radio', | 708 'previousLink': { |
596 category: 'jump_commands'}, | 709 backward: true, |
| 710 findNext: 'link', |
| 711 msgId: 'previous_link', |
| 712 category: 'jump_commands' |
| 713 }, |
| 714 'previousList': { |
| 715 backward: true, |
| 716 findNext: 'list', |
| 717 msgId: 'previous_list', |
| 718 category: 'jump_commands' |
| 719 }, |
| 720 'previousListItem': { |
| 721 backward: true, |
| 722 findNext: 'listItem', |
| 723 msgId: 'previous_list_item', |
| 724 category: 'jump_commands' |
| 725 }, |
| 726 'previousMath': { |
| 727 backward: true, |
| 728 findNext: 'math', |
| 729 msgId: 'previous_math', |
| 730 category: 'jump_commands' |
| 731 }, |
| 732 'previousMedia': { |
| 733 backward: true, |
| 734 findNext: 'media', |
| 735 msgId: 'previous_media', |
| 736 category: 'jump_commands' |
| 737 }, |
| 738 'previousRadio': { |
| 739 backward: true, |
| 740 findNext: 'radio', |
| 741 msgId: 'previous_radio', |
| 742 category: 'jump_commands' |
| 743 }, |
597 'previousSection': {backward: true, findNext: 'section'}, | 744 'previousSection': {backward: true, findNext: 'section'}, |
598 'previousSlider': {backward: true, findNext: 'slider'}, | 745 'previousSlider': {backward: true, findNext: 'slider'}, |
599 'previousTable': {backward: true, | 746 'previousTable': { |
600 findNext: 'table', | 747 backward: true, |
601 msgId: 'previous_table', | 748 findNext: 'table', |
602 category: 'jump_commands'}, | 749 msgId: 'previous_table', |
603 'previousVisitedLink': {backward: true, | 750 category: 'jump_commands' |
604 findNext: 'visitedLink', | 751 }, |
605 msgId: 'previous_visited_link', | 752 'previousVisitedLink': { |
606 category: 'jump_commands'}, | 753 backward: true, |
| 754 findNext: 'visitedLink', |
| 755 msgId: 'previous_visited_link', |
| 756 category: 'jump_commands' |
| 757 }, |
607 | 758 |
608 | 759 |
609 // Table Actions. | 760 // Table Actions. |
610 'announceHeaders': {announce: false, | 761 'announceHeaders': |
611 msgId: 'announce_headers', | 762 {announce: false, msgId: 'announce_headers', category: 'tables'}, |
612 category: 'tables'}, | 763 'speakTableLocation': |
613 'speakTableLocation': {announce: false, | 764 {announce: false, msgId: 'speak_table_location', category: 'tables'}, |
614 msgId: 'speak_table_location', | 765 'goToFirstCell': |
615 category: 'tables'}, | 766 {announce: true, msgId: 'skip_to_beginning', category: 'tables'}, |
616 'goToFirstCell': {announce: true, | 767 'goToLastCell': {announce: true, msgId: 'skip_to_end', category: 'tables'}, |
617 msgId: 'skip_to_beginning', | 768 'goToRowFirstCell': |
618 category: 'tables'}, | 769 {announce: true, msgId: 'skip_to_row_beginning', category: 'tables'}, |
619 'goToLastCell': {announce: true, | 770 'goToRowLastCell': |
620 msgId: 'skip_to_end', | 771 {announce: true, msgId: 'skip_to_row_end', category: 'tables'}, |
621 category: 'tables'}, | 772 'goToColFirstCell': |
622 'goToRowFirstCell': {announce: true, | 773 {announce: true, msgId: 'skip_to_col_beginning', category: 'tables'}, |
623 msgId: 'skip_to_row_beginning', | 774 'goToColLastCell': |
624 category: 'tables'}, | 775 {announce: true, msgId: 'skip_to_col_end', category: 'tables'}, |
625 'goToRowLastCell': {announce: true, | |
626 msgId: 'skip_to_row_end', | |
627 category: 'tables'}, | |
628 'goToColFirstCell': {announce: true, | |
629 msgId: 'skip_to_col_beginning', | |
630 category: 'tables'}, | |
631 'goToColLastCell': {announce: true, | |
632 msgId: 'skip_to_col_end', | |
633 category: 'tables'}, | |
634 // These commands are left out of the options page because they involve | 776 // These commands are left out of the options page because they involve |
635 // multiple, non-user configurable modifiers. | 777 // multiple, non-user configurable modifiers. |
636 'previousRow': {backward: true, announce: true, skipInput: true}, | 778 'previousRow': {backward: true, announce: true, skipInput: true}, |
637 'previousCol': {backward: true, announce: true, skipInput: true}, | 779 'previousCol': {backward: true, announce: true, skipInput: true}, |
638 'nextRow': {forward: true, announce: true, skipInput: true}, | 780 'nextRow': {forward: true, announce: true, skipInput: true}, |
639 'nextCol': {forward: true, announce: true, skipInput: true}, | 781 'nextCol': {forward: true, announce: true, skipInput: true}, |
640 | 782 |
641 // Generic Actions. | 783 // Generic Actions. |
642 'enterShifter': {announce: true, | 784 'enterShifter': |
643 msgId: 'enter_content', | 785 {announce: true, msgId: 'enter_content', category: 'navigation'}, |
644 category: 'navigation'}, | 786 'exitShifter': |
645 'exitShifter': {announce: true, | 787 {announce: true, msgId: 'exit_content', category: 'navigation'}, |
646 msgId: 'exit_content', | |
647 category: 'navigation'}, | |
648 'exitShifterContent': {announce: true}, | 788 'exitShifterContent': {announce: true}, |
649 | 789 |
650 'openLongDesc': {announce: false, | 790 'openLongDesc': |
651 msgId: 'open_long_desc', | 791 {announce: false, msgId: 'open_long_desc', category: 'information'}, |
652 category: 'information'}, | |
653 | 792 |
654 'pauseAllMedia': {announce: false, | 793 'pauseAllMedia': |
655 msgId: 'pause_all_media', | 794 {announce: false, msgId: 'pause_all_media', category: 'information'}, |
656 category: 'information'}, | |
657 | 795 |
658 // Math specific commands. | 796 // Math specific commands. |
659 'toggleSemantics': {announce: false, | 797 'toggleSemantics': |
660 msgId: 'toggle_semantics', | 798 {announce: false, msgId: 'toggle_semantics', category: 'information'}, |
661 category: 'information'}, | |
662 | 799 |
663 // Braille specific commands. | 800 // Braille specific commands. |
664 'routing': {announce: false, | 801 'routing': { |
665 allowEvents: true, | 802 announce: false, |
666 msgId: 'braille_routing', | 803 allowEvents: true, |
667 category: 'braille'}, | 804 msgId: 'braille_routing', |
668 'pan_left': {backward: true, | 805 category: 'braille' |
669 announce: true, | 806 }, |
670 msgId: 'braille_pan_left', | 807 'pan_left': { |
671 category: 'braille'}, | 808 backward: true, |
672 'pan_right': {forward: true, | 809 announce: true, |
673 announce: true, | 810 msgId: 'braille_pan_left', |
674 msgId: 'braille_pan_right', | 811 category: 'braille' |
675 category: 'braille'}, | 812 }, |
676 'line_up': {backward: true, | 813 'pan_right': { |
677 announce: true, | 814 forward: true, |
678 msgId: 'braille_line_up', | 815 announce: true, |
679 category: 'braille'}, | 816 msgId: 'braille_pan_right', |
680 'line_down': {forward: true, | 817 category: 'braille' |
681 announce: true, | 818 }, |
682 msgId: 'braille_line_down', | 819 'line_up': { |
683 category: 'braille'}, | 820 backward: true, |
684 'top': {forward: true, | 821 announce: true, |
685 announce: true, | 822 msgId: 'braille_line_up', |
686 msgId: 'braille_top', | 823 category: 'braille' |
687 category: 'braille'}, | 824 }, |
688 'bottom': {backward: true, | 825 'line_down': { |
689 announce: true, | 826 forward: true, |
690 msgId: 'braille_bottom', | 827 announce: true, |
691 category: 'braille'}, | 828 msgId: 'braille_line_down', |
692 'viewGraphicAsBraille': {announce: true, | 829 category: 'braille' |
693 msgId: 'view_graphic_as_braille', | 830 }, |
694 category: 'braille'}, | 831 'top': { |
| 832 forward: true, |
| 833 announce: true, |
| 834 msgId: 'braille_top', |
| 835 category: 'braille' |
| 836 }, |
| 837 'bottom': { |
| 838 backward: true, |
| 839 announce: true, |
| 840 msgId: 'braille_bottom', |
| 841 category: 'braille' |
| 842 }, |
| 843 'viewGraphicAsBraille': |
| 844 {announce: true, msgId: 'view_graphic_as_braille', category: 'braille'}, |
695 | 845 |
696 // Developer commands. | 846 // Developer commands. |
697 'enableConsoleTts': {announce: false, | 847 'enableConsoleTts': |
698 msgId: 'enable_tts_log', | 848 {announce: false, msgId: 'enable_tts_log', category: 'developer'}, |
699 category: 'developer'}, | |
700 | 849 |
701 'startHistoryRecording': {announce: false}, | 850 'startHistoryRecording': {announce: false}, |
702 'stopHistoryRecording': {announce: false}, | 851 'stopHistoryRecording': {announce: false}, |
703 'autorunner': {announce: false}, | 852 'autorunner': {announce: false}, |
704 | 853 |
705 'debug': {announce: false}, | 854 'debug': {announce: false}, |
706 | 855 |
707 'nop': {announce: false} | 856 'nop': {announce: false} |
708 }; | 857 }; |
709 | 858 |
710 | 859 |
711 /** | 860 /** |
712 * List of find next commands and their associated data. | 861 * List of find next commands and their associated data. |
713 * @type {Object<{predicate: string, | 862 * @type {Object<{predicate: string, |
714 * forwardError: string, | 863 * forwardError: string, |
715 * backwardError: string}>} | 864 * backwardError: string}>} |
716 * predicate: The name of the predicate. This must be defined in DomPredicates. | 865 * predicate: The name of the predicate. This must be defined in DomPredicates. |
717 * forwardError: The message id of the error string when moving forward. | 866 * forwardError: The message id of the error string when moving forward. |
718 * backwardError: The message id of the error string when moving backward. | 867 * backwardError: The message id of the error string when moving backward. |
719 */ | 868 */ |
720 cvox.CommandStore.NODE_INFO_MAP = { | 869 cvox.CommandStore.NODE_INFO_MAP = { |
721 'checkbox': {predicate: 'checkboxPredicate', | 870 'checkbox': { |
722 forwardError: 'no_next_checkbox', | 871 predicate: 'checkboxPredicate', |
723 backwardError: 'no_previous_checkbox', | 872 forwardError: 'no_next_checkbox', |
724 typeMsg: 'role_checkbox'}, | 873 backwardError: 'no_previous_checkbox', |
725 'radio': {predicate: 'radioPredicate', | 874 typeMsg: 'role_checkbox' |
726 forwardError: 'no_next_radio_button', | 875 }, |
727 backwardError: 'no_previous_radio_button', | 876 'radio': { |
728 typeMsg: 'role_radio'}, | 877 predicate: 'radioPredicate', |
729 'slider': {predicate: 'sliderPredicate', | 878 forwardError: 'no_next_radio_button', |
730 forwardError: 'no_next_slider', | 879 backwardError: 'no_previous_radio_button', |
731 backwardError: 'no_previous_slider', | 880 typeMsg: 'role_radio' |
732 typeMsg: 'role_slider'}, | 881 }, |
733 'graphic': {predicate: 'graphicPredicate', | 882 'slider': { |
734 forwardError: 'no_next_graphic', | 883 predicate: 'sliderPredicate', |
735 backwardError: 'no_previous_graphic', | 884 forwardError: 'no_next_slider', |
736 typeMsg: 'UNUSED'}, | 885 backwardError: 'no_previous_slider', |
737 'article': {predicate: 'articlePredicate', | 886 typeMsg: 'role_slider' |
738 forwardError: 'no_next_ARTICLE', | 887 }, |
739 backwardError: 'no_previous_ARTICLE', | 888 'graphic': { |
740 typeMsg: 'TAG_ARTICLE'}, | 889 predicate: 'graphicPredicate', |
741 'button': {predicate: 'buttonPredicate', | 890 forwardError: 'no_next_graphic', |
742 forwardError: 'no_next_button', | 891 backwardError: 'no_previous_graphic', |
743 backwardError: 'no_previous_button', | 892 typeMsg: 'UNUSED' |
744 typeMsg: 'role_button'}, | 893 }, |
745 'combobox': {predicate: 'comboBoxPredicate', | 894 'article': { |
746 forwardError: 'no_next_combo_box', | 895 predicate: 'articlePredicate', |
747 backwardError: 'no_previous_combo_box', | 896 forwardError: 'no_next_ARTICLE', |
748 typeMsg: 'role_combobox'}, | 897 backwardError: 'no_previous_ARTICLE', |
749 'editText': {predicate: 'editTextPredicate', | 898 typeMsg: 'TAG_ARTICLE' |
750 forwardError: 'no_next_edit_text', | 899 }, |
751 backwardError: 'no_previous_edit_text', | 900 'button': { |
752 typeMsg: 'input_type_text'}, | 901 predicate: 'buttonPredicate', |
753 'heading': {predicate: 'headingPredicate', | 902 forwardError: 'no_next_button', |
754 forwardError: 'no_next_heading', | 903 backwardError: 'no_previous_button', |
755 backwardError: 'no_previous_heading', | 904 typeMsg: 'role_button' |
756 typeMsg: 'role_heading'}, | 905 }, |
757 'heading1': {predicate: 'heading1Predicate', | 906 'combobox': { |
758 forwardError: 'no_next_heading_1', | 907 predicate: 'comboBoxPredicate', |
759 backwardError: 'no_previous_heading_1'}, | 908 forwardError: 'no_next_combo_box', |
760 'heading2': {predicate: 'heading2Predicate', | 909 backwardError: 'no_previous_combo_box', |
761 forwardError: 'no_next_heading_2', | 910 typeMsg: 'role_combobox' |
762 backwardError: 'no_previous_heading_2'}, | 911 }, |
763 'heading3': {predicate: 'heading3Predicate', | 912 'editText': { |
764 forwardError: 'no_next_heading_3', | 913 predicate: 'editTextPredicate', |
765 backwardError: 'no_previous_heading_3'}, | 914 forwardError: 'no_next_edit_text', |
766 'heading4': {predicate: 'heading4Predicate', | 915 backwardError: 'no_previous_edit_text', |
767 forwardError: 'no_next_heading_4', | 916 typeMsg: 'input_type_text' |
768 backwardError: 'no_previous_heading_4'}, | 917 }, |
769 'heading5': {predicate: 'heading5Predicate', | 918 'heading': { |
770 forwardError: 'no_next_heading_5', | 919 predicate: 'headingPredicate', |
771 backwardError: 'no_previous_heading_5'}, | 920 forwardError: 'no_next_heading', |
772 'heading6': {predicate: 'heading6Predicate', | 921 backwardError: 'no_previous_heading', |
773 forwardError: 'no_next_heading_6', | 922 typeMsg: 'role_heading' |
774 backwardError: 'no_previous_heading_6'}, | 923 }, |
| 924 'heading1': { |
| 925 predicate: 'heading1Predicate', |
| 926 forwardError: 'no_next_heading_1', |
| 927 backwardError: 'no_previous_heading_1' |
| 928 }, |
| 929 'heading2': { |
| 930 predicate: 'heading2Predicate', |
| 931 forwardError: 'no_next_heading_2', |
| 932 backwardError: 'no_previous_heading_2' |
| 933 }, |
| 934 'heading3': { |
| 935 predicate: 'heading3Predicate', |
| 936 forwardError: 'no_next_heading_3', |
| 937 backwardError: 'no_previous_heading_3' |
| 938 }, |
| 939 'heading4': { |
| 940 predicate: 'heading4Predicate', |
| 941 forwardError: 'no_next_heading_4', |
| 942 backwardError: 'no_previous_heading_4' |
| 943 }, |
| 944 'heading5': { |
| 945 predicate: 'heading5Predicate', |
| 946 forwardError: 'no_next_heading_5', |
| 947 backwardError: 'no_previous_heading_5' |
| 948 }, |
| 949 'heading6': { |
| 950 predicate: 'heading6Predicate', |
| 951 forwardError: 'no_next_heading_6', |
| 952 backwardError: 'no_previous_heading_6' |
| 953 }, |
775 | 954 |
776 'link': {predicate: 'linkPredicate', | 955 'link': { |
777 forwardError: 'no_next_link', | 956 predicate: 'linkPredicate', |
778 backwardError: 'no_previous_link', | 957 forwardError: 'no_next_link', |
779 typeMsg: 'role_link'}, | 958 backwardError: 'no_previous_link', |
780 'table': {predicate: 'tablePredicate', | 959 typeMsg: 'role_link' |
781 forwardError: 'no_next_table', | 960 }, |
782 backwardError: 'no_previous_table', | 961 'table': { |
783 typeMsg: 'table_strategy'}, | 962 predicate: 'tablePredicate', |
784 'visitedLink': {predicate: 'visitedLinkPredicate', | 963 forwardError: 'no_next_table', |
785 forwardError: 'no_next_visited_link', | 964 backwardError: 'no_previous_table', |
786 backwardError: 'no_previous_visited_link', | 965 typeMsg: 'table_strategy' |
787 typeMsg: 'role_link'}, | 966 }, |
788 'list': {predicate: 'listPredicate', | 967 'visitedLink': { |
789 forwardError: 'no_next_list', | 968 predicate: 'visitedLinkPredicate', |
790 backwardError: 'no_previous_list', | 969 forwardError: 'no_next_visited_link', |
791 typeMsg: 'role_list'}, | 970 backwardError: 'no_previous_visited_link', |
792 'listItem': {predicate: 'listItemPredicate', | 971 typeMsg: 'role_link' |
793 forwardError: 'no_next_list_item', | 972 }, |
794 backwardError: 'no_previous_list_item', | 973 'list': { |
795 typeMsg: 'role_listitem'}, | 974 predicate: 'listPredicate', |
796 'formField': {predicate: 'formFieldPredicate', | 975 forwardError: 'no_next_list', |
797 forwardError: 'no_next_form_field', | 976 backwardError: 'no_previous_list', |
798 backwardError: 'no_previous_form_field', | 977 typeMsg: 'role_list' |
799 typeMsg: 'role_form'}, | 978 }, |
800 'landmark': {predicate: 'landmarkPredicate', | 979 'listItem': { |
801 forwardError: 'no_next_landmark', | 980 predicate: 'listItemPredicate', |
802 backwardError: 'no_previous_landmark', | 981 forwardError: 'no_next_list_item', |
803 typeMsg: 'role_landmark'}, | 982 backwardError: 'no_previous_list_item', |
804 'math': {predicate: 'mathPredicate', | 983 typeMsg: 'role_listitem' |
805 forwardError: 'no_next_math', | 984 }, |
806 backwardError: 'no_previous_math', | 985 'formField': { |
807 typeMsg: 'math_expr'}, | 986 predicate: 'formFieldPredicate', |
808 'media': {predicate: 'mediaPredicate', | 987 forwardError: 'no_next_form_field', |
809 forwardError: 'no_next_media_widget', | 988 backwardError: 'no_previous_form_field', |
810 backwardError: 'no_previous_media_widget'}, | 989 typeMsg: 'role_form' |
811 'section': {predicate: 'sectionPredicate', | 990 }, |
812 forwardError: 'no_next_section', | 991 'landmark': { |
813 backwardError: 'no_previous_section'}, | 992 predicate: 'landmarkPredicate', |
814 'control': {predicate: 'controlPredicate', | 993 forwardError: 'no_next_landmark', |
815 forwardError: 'no_next_control', | 994 backwardError: 'no_previous_landmark', |
816 backwardError: 'no_previous_control'} | 995 typeMsg: 'role_landmark' |
| 996 }, |
| 997 'math': { |
| 998 predicate: 'mathPredicate', |
| 999 forwardError: 'no_next_math', |
| 1000 backwardError: 'no_previous_math', |
| 1001 typeMsg: 'math_expr' |
| 1002 }, |
| 1003 'media': { |
| 1004 predicate: 'mediaPredicate', |
| 1005 forwardError: 'no_next_media_widget', |
| 1006 backwardError: 'no_previous_media_widget' |
| 1007 }, |
| 1008 'section': { |
| 1009 predicate: 'sectionPredicate', |
| 1010 forwardError: 'no_next_section', |
| 1011 backwardError: 'no_previous_section' |
| 1012 }, |
| 1013 'control': { |
| 1014 predicate: 'controlPredicate', |
| 1015 forwardError: 'no_next_control', |
| 1016 backwardError: 'no_previous_control' |
| 1017 } |
817 }; | 1018 }; |
OLD | NEW |