| 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 ba484eac0227a89c992c25a26567c1df8a9a7970..5d33d3184cf9b2ec63356eda1383a59866414108 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
|
| @@ -342,8 +342,10 @@ DesktopAutomationHandler.prototype = {
|
| chrome.automation.getFocus(function(focus) {
|
| // Some cases (e.g. in overview mode), require overriding the assumption
|
| // that focus is an ancestor of a selection target.
|
| - var override =
|
| - evt.target.root == focus.root && focus.root.role == RoleType.desktop;
|
| + var override = evt.target.role == RoleType.menuItem ||
|
| + (evt.target.root == focus.root &&
|
| + focus.root.role == RoleType.desktop);
|
| + Output.flushNextSpeechUtterance();
|
| if (override || AutomationUtil.isDescendantOf(evt.target, focus))
|
| this.onEventDefault(evt);
|
| }.bind(this));
|
|
|