Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js

Issue 2151713002: Less strict checked state changes and introduce disabled state for content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: m Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 * @fileoverview Provides output services for ChromeVox. 6 * @fileoverview Provides output services for ChromeVox.
7 */ 7 */
8 8
9 goog.provide('Output'); 9 goog.provide('Output');
10 goog.provide('Output.EventType'); 10 goog.provide('Output.EventType');
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 } 352 }
353 }, 353 },
354 collapsed: { 354 collapsed: {
355 on: { 355 on: {
356 msgId: 'aria_expanded_false' 356 msgId: 'aria_expanded_false'
357 }, 357 },
358 off: { 358 off: {
359 msgId: 'aria_expanded_true' 359 msgId: 'aria_expanded_true'
360 } 360 }
361 }, 361 },
362 disabled: {
363 on: {
364 msgId: 'aria_disabled_true'
365 }
366 },
362 expanded: { 367 expanded: {
363 on: { 368 on: {
364 msgId: 'aria_expanded_true' 369 msgId: 'aria_expanded_true'
365 }, 370 },
366 off: { 371 off: {
367 msgId: 'aria_expanded_false' 372 msgId: 'aria_expanded_false'
368 } 373 }
369 }, 374 },
370 pressed: { 375 pressed: {
371 on: { 376 on: {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 speak: '$earcon(SLIDER) @describe_slider($value, $name) $description' 525 speak: '$earcon(SLIDER) @describe_slider($value, $name) $description'
521 }, 526 },
522 staticText: { 527 staticText: {
523 speak: '$name=' 528 speak: '$name='
524 }, 529 },
525 tab: { 530 tab: {
526 speak: '@describe_tab($name)' 531 speak: '@describe_tab($name)'
527 }, 532 },
528 textField: { 533 textField: {
529 speak: '$name $value $if($multiline, @tag_textarea, $if(' + 534 speak: '$name $value $if($multiline, @tag_textarea, $if(' +
530 '$inputType, $inputType, $role)) $description', 535 '$inputType, $inputType, $role)) $description $state',
531 braille: '' 536 braille: ''
532 }, 537 },
533 toggleButton: { 538 toggleButton: {
534 speak: '$if($pressed, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' + 539 speak: '$if($pressed, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' +
535 '$name $role $pressed $description' 540 '$name $role $pressed $description'
536 }, 541 },
537 toolbar: { 542 toolbar: {
538 enter: '$name $role $description' 543 enter: '$name $role $description'
539 }, 544 },
540 tree: { 545 tree: {
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1643 break; 1648 break;
1644 } 1649 }
1645 earconFinder = earconFinder.parent; 1650 earconFinder = earconFinder.parent;
1646 } 1651 }
1647 } 1652 }
1648 return null; 1653 return null;
1649 } 1654 }
1650 }; 1655 };
1651 1656
1652 }); // goog.scope 1657 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698