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

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

Issue 2886953002: Speak cell name on focus (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 }, 424 },
425 alertDialog: { 425 alertDialog: {
426 enter: '$earcon(ALERT_MODAL) $name $state', 426 enter: '$earcon(ALERT_MODAL) $name $state',
427 speak: '$earcon(ALERT_MODAL) $name $nameOrTextContent $state $role' 427 speak: '$earcon(ALERT_MODAL) $name $nameOrTextContent $state $role'
428 }, 428 },
429 cell: { 429 cell: {
430 enter: '@cell_summary($if($ariaCellRowIndex, $ariaCellRowIndex, ' + 430 enter: '@cell_summary($if($ariaCellRowIndex, $ariaCellRowIndex, ' +
431 '$tableCellRowIndex), ' + 431 '$tableCellRowIndex), ' +
432 '$if($ariaCellColumnIndex, $ariaCellColumnIndex, ' + 432 '$if($ariaCellColumnIndex, $ariaCellColumnIndex, ' +
433 '$tableCellColumnIndex)) $node(tableColumnHeader)', 433 '$tableCellColumnIndex)) $node(tableColumnHeader)',
434 speak: '@cell_summary($if($ariaCellRowIndex, $ariaCellRowIndex, ' + 434 speak: '$name @cell_summary($if($ariaCellRowIndex, $ariaCellRowIndex, ' +
435 '$tableCellRowIndex), ' + 435 '$tableCellRowIndex), ' +
436 '$if($ariaCellColumnIndex, $ariaCellColumnIndex, ' + 436 '$if($ariaCellColumnIndex, $ariaCellColumnIndex, ' +
437 '$tableCellColumnIndex)) $node(tableColumnHeader) $state' 437 '$tableCellColumnIndex)) $node(tableColumnHeader) $state'
438 }, 438 },
439 checkBox: { 439 checkBox: {
440 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' + 440 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' +
441 '$name $role $checked $description $state' 441 '$name $role $checked $description $state'
442 }, 442 },
443 client: { 443 client: {
444 speak: '$name' 444 speak: '$name'
(...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1894 /** 1894 /**
1895 * Gets the output buffer for braille. 1895 * Gets the output buffer for braille.
1896 * @return {!Spannable} 1896 * @return {!Spannable}
1897 */ 1897 */
1898 get brailleOutputForTest() { 1898 get brailleOutputForTest() {
1899 return this.mergeBraille_(this.brailleBuffer_); 1899 return this.mergeBraille_(this.brailleBuffer_);
1900 } 1900 }
1901 }; 1901 };
1902 1902
1903 }); // goog.scope 1903 }); // goog.scope
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698