| 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 550398551a36c7b93142193392f7fbcf8717dcab..424ba9610c804b1dae4054d0a3e9a7464355b59c 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
|
| @@ -331,10 +331,11 @@ DesktopAutomationHandler.prototype = {
|
| ChromeVoxState.instance.mode === ChromeVoxMode.CLASSIC)
|
| return;
|
|
|
| + var topRoot = AutomationUtil.getTopLevelRoot(evt.target);
|
| if (!evt.target.state.focused ||
|
| - (evt.target.root.role != RoleType.desktop &&
|
| - evt.target.root.parent &&
|
| - !evt.target.root.parent.state.focused))
|
| + (topRoot &&
|
| + topRoot.parent &&
|
| + !topRoot.parent.state.focused))
|
| return;
|
|
|
| if (!ChromeVoxState.instance.currentRange) {
|
|
|