| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| index 17c7e57d8a490d9013904f8322ea1fceb80e625a..b2283a350f1860fe5f67046c1311465b1d630c2f 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
|
| @@ -406,7 +406,7 @@ Output.INPUT_TYPE_MESSAGE_IDS_ = {
|
| Output.RULES = {
|
| navigate: {
|
| 'default': {
|
| - speak: '$name $value $role $description',
|
| + speak: '$name $value $state $role $description',
|
| braille: ''
|
| },
|
| abstractContainer: {
|
| @@ -1068,7 +1068,9 @@ Output.prototype = {
|
| } else if (token == 'state') {
|
| options.annotation.push(token);
|
| Object.getOwnPropertyNames(node.state).forEach(function(s) {
|
| - this.append_(buff, s, options);
|
| + var stateInfo = Output.STATE_INFO_[s];
|
| + if (stateInfo && stateInfo.on)
|
| + this.append_(buff, Msgs.getMsg(stateInfo.on.msgId), options);
|
| }.bind(this));
|
| } else if (token == 'find') {
|
| // Find takes two arguments: JSON query string and format string.
|
|
|