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 c6115d8831a0ba073338976b23f141e01963eea6..f3bfa177ba5c29270869955104f24d7bb7d710cb 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js |
@@ -261,10 +261,6 @@ Output.ROLE_INFO_ = { |
radioGroup: { |
msgId: 'role_radiogroup', |
}, |
- region: { |
- msgId: 'role_region', |
- inherits: 'abstractContainer' |
- }, |
rowHeader: { |
msgId: 'role_rowheader', |
inherits: 'abstractContainer' |
@@ -477,6 +473,9 @@ Output.RULES = { |
enter: '$name', |
speak: '$if($name, $name, $docUrl)' |
}, |
+ region: { |
+ speak: '$descendants' |
+ }, |
row: { |
enter: '@row_granularity $tableRowIndex' |
}, |
@@ -821,7 +820,7 @@ Output.prototype = { |
go: function() { |
// Speech. |
var queueMode = this.queueMode_; |
- if (Output.flushNextSpeechUtterance_ && this.speechBuffer_.length > 0) { |
+ if (Output.flushNextSpeechUtterance_) { |
queueMode = cvox.QueueMode.FLUSH; |
Output.flushNextSpeechUtterance_ = false; |
} |