Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp

Issue 2447773002: Use setSequentialFocusNavigationStartingPoint in ChromeVox (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
index 41d790540a3142c25b1e7ba3f32787f8e9abb308..93f61ae4c4495e9e2f8f85c0996953755c86580a 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
@@ -2169,6 +2169,7 @@ void AXNodeObject::setSequentialFocusNavigationStartingPoint() {
if (!getNode())
return;
+ getNode()->document().clearFocusedElement();
David Tseng 2016/10/24 21:51:32 Will this result in any ax events?
dmazzoni 2016/10/26 16:20:22 Yes, but the existing mechanism you added suppress
David Tseng 2016/10/26 17:03:26 Great, so you didn't get any repeated text/odd foc
getNode()->document().setSequentialFocusNavigationStartingPoint(getNode());
}

Powered by Google App Engine
This is Rietveld 408576698