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 2f37148e546341894de9e297c0b66e29040bb99c..8b8d2357784c6809362a3ecf715d12b3730595d1 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js |
@@ -1243,7 +1243,9 @@ Output.prototype = { |
options.annotation.push(token); |
var msg = node.role; |
var info = Output.ROLE_INFO_[node.role]; |
- if (info) { |
+ if (node.roleDescription) { |
+ msg = node.roleDescription; |
+ } else if (info) { |
if (this.formatOptions_.braille) |
msg = Msgs.getMsg(info.msgId + '_brl'); |
else |