| 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..7e9cfb133a9e1704b81dd7fa88fbe0efd6880fa5 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
|
| @@ -46,7 +46,7 @@ DesktopAutomationHandler = function(node) {
|
| var e = EventType;
|
| this.addListener_(e.activedescendantchanged, this.onActiveDescendantChanged);
|
| this.addListener_(e.alert, this.onAlert);
|
| - this.addListener_(e.ariaAttributeChanged, this.onEventIfInRange);
|
| + this.addListener_(e.ariaAttributeChanged, this.onAriaAttributeChanged);
|
| this.addListener_(e.autocorrectionOccured, this.onEventIfInRange);
|
| this.addListener_(e.checkedStateChanged, this.onCheckedStateChanged);
|
| this.addListener_(e.childrenChanged, this.onActiveDescendantChanged);
|
| @@ -182,6 +182,15 @@ DesktopAutomationHandler.prototype = {
|
| /**
|
| * @param {!AutomationEvent} evt
|
| */
|
| + onAriaAttributeChanged: function(evt) {
|
| + if (evt.target.state.editable)
|
| + return;
|
| + this.onEventIfInRange(evt);
|
| + },
|
| +
|
| + /**
|
| + * @param {!AutomationEvent} evt
|
| + */
|
| onHover: function(evt) {
|
| if (ChromeVoxState.instance.currentRange &&
|
| evt.target == ChromeVoxState.instance.currentRange.start.node)
|
|
|