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 770f40f4a8b41626fe4fe44a3b12105021d72d9a..bf88d841f8170caff2ff5ec3c0eabdf023877e89 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 |
@@ -247,6 +247,11 @@ DesktopAutomationHandler.prototype = { |
if (!focus || !AutomationUtil.isDescendantOf(focus, evt.target)) |
return; |
+ // Create text edit handler, if needed, now in order not to miss initial |
+ // value change if text field has already been focused when initializing |
+ // ChromeVox. |
+ this.createTextEditHandlerIfNeeded_(focus); |
+ |
// If initial focus was already placed on this page (e.g. if a user starts |
// tabbing before load complete), then don't move ChromeVox's position on |
// the page. |