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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js

Issue 596033002: Entering / exiting dialog notification should not interrupt live region. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event_watcher_tests
Patch Set: Use map and filter Created 6 years, 3 months 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
Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js
index baaa6ae3319c3880f890a611bf6d774651d87222..c72efde8aa2c311181c40f039a57f328b23548f1 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js
@@ -408,7 +408,7 @@ cvox.LiveRegions.announceChange = function(
// interrupt other live regions but not anything else.
navDescriptions.forEach(function(desc) {
if (!desc.category) {
- desc.category = 'live';
+ desc.category = cvox.TtsCategory.LIVE;
}
});
@@ -432,7 +432,7 @@ cvox.LiveRegions.announceChange = function(
});
navDescriptions = [new cvox.NavDescription({
text: allStrings.join(', '),
- category: 'live'
+ category: cvox.TtsCategory.LIVE
})];
}

Powered by Google App Engine
This is Rietveld 408576698