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 |
})]; |
} |