Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
index 02d966989a50b962a1ff0f135195dcc37c38f653..c7bc3d2f772897c702de244ce530495c7a045836 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
@@ -193,6 +193,12 @@ |
* @return {boolean} |
*/ |
AutomationPredicate.object = function(node) { |
+ // Editable nodes are within a text-like field and don't make sense when |
+ // performing object navigation. Users should use line, word, or character |
+ // navigation. Only navigate to the top level node. |
+ if (node.parent && node.parent.state.editable) |
+ return false; |
+ |
return node.state.focusable || |
(AutomationPredicate.leafOrStaticText(node) && |
(/\S+/.test(node.name) || |