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

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

Issue 2488373002: Expose caps lock state as an accessible alert (Closed)
Patch Set: Rebqase Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cdcdbc92e61984189169d7f240b76368ceec4c6b..cd063b2ff1200ef26cd973053bdeb3edc8411fed 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
@@ -116,8 +116,7 @@ Output.SPACE = ' ';
*/
Output.ROLE_INFO_ = {
alert: {
- msgId: 'role_alert',
- earconId: 'ALERT_NONMODAL'
+ msgId: 'role_alert'
},
alertDialog: {
msgId: 'role_alertdialog',
@@ -398,7 +397,7 @@ Output.RULES = {
leave: '@exited_container($role)'
},
alert: {
- speak: '!doNotInterrupt $role $descendants $state'
+ speak: '$earcon(ALERT_NONMODAL) $role $descendants $state'
},
alertDialog: {
enter: '$nameFromNode $role $description',
@@ -601,8 +600,8 @@ Output.RULES = {
},
alert: {
default: {
- speak: '!doNotInterrupt @role_alert ' +
- '$if($name, $name, $descendants) $earcon(ALERT_NONMODAL) $description'
+ speak: '$earcon(ALERT_NONMODAL) @role_alert ' +
+ '$if($name, $name, $descendants) $description'
}
}
};
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698