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

Unified Diff: ui/views/accessibility/ax_view_obj_wrapper.cc

Issue 2818503002: Improved isInteresting heuristic, made more AutomationNodes focusable (Closed)
Patch Set: Responded to comment Created 3 years, 8 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
« no previous file with comments | « chrome/browser/resources/chromeos/switch_access/tree_walker_unittest.gtestjs ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/accessibility/ax_view_obj_wrapper.cc
diff --git a/ui/views/accessibility/ax_view_obj_wrapper.cc b/ui/views/accessibility/ax_view_obj_wrapper.cc
index 37c2af3374886f0b24cbc147ecd58001c64306e0..2a22590bbb23c404de53e38a8ce868bad966e4cd 100644
--- a/ui/views/accessibility/ax_view_obj_wrapper.cc
+++ b/ui/views/accessibility/ax_view_obj_wrapper.cc
@@ -51,7 +51,7 @@ void AXViewObjWrapper::Serialize(ui::AXNodeData* out_node_data) {
out_node_data->id = GetID();
- if (view_->IsFocusable())
+ if (view_->IsAccessibilityFocusable())
out_node_data->state |= 1 << ui::AX_STATE_FOCUSABLE;
if (!view_->visible())
out_node_data->state |= 1 << ui::AX_STATE_INVISIBLE;
« no previous file with comments | « chrome/browser/resources/chromeos/switch_access/tree_walker_unittest.gtestjs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698