Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
index 4237af5815ff39b8b482defe7fae6f684e070cd6..f586f264a64a0f43e49e81a9a324ca218adbde29 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
@@ -244,15 +244,12 @@ DesktopAutomationHandler.prototype = { |
ChromeVoxState.instance.mode === ChromeVoxMode.CLASSIC) |
return; |
- if (!evt.target.state.focused) |
- return; |
- |
// Value change events fire on web editables when typing. Suppress them. |
if (!ChromeVoxState.instance.currentRange || |
!this.isEditable_(evt.target)) { |
- this.onEventDefault(evt); |
- ChromeVoxState.instance.setCurrentRange( |
- cursors.Range.fromNode(evt.target)); |
+ var range = cursors.Range.fromNode(evt.target); |
+ new Output().withSpeechAndBraille(range, range, evt.type) |
+ .go(); |
} |
}, |