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 5d9e6611a41b96925971727f021738a7e645b6c5..da100400db6461cf8ad4385beb6bf302c363e6e5 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js |
@@ -1256,7 +1256,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 |