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

Unified Diff: content/renderer/accessibility/blink_ax_tree_source.cc

Issue 2799413002: Views a11y: Add AXNodeData.actions bitfield to indicate supported actions by UI. (Closed)
Patch Set: Fix tests broken from rebase. Created 3 years, 7 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: content/renderer/accessibility/blink_ax_tree_source.cc
diff --git a/content/renderer/accessibility/blink_ax_tree_source.cc b/content/renderer/accessibility/blink_ax_tree_source.cc
index c19d9c0080c1cbf0c5d016bf0fb47e8628a822d1..60845ed583b9f003bc1cdc2448b8beff7c4eeba0 100644
--- a/content/renderer/accessibility/blink_ax_tree_source.cc
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc
@@ -432,7 +432,7 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src,
}
if (src.CanSetValueAttribute())
- dst->AddBoolAttribute(ui::AX_ATTR_CAN_SET_VALUE, true);
+ dst->AddAction(ui::AX_ACTION_SET_VALUE);
if (!src.Url().IsEmpty())
dst->AddStringAttribute(ui::AX_ATTR_URL, src.Url().GetString().Utf8());

Powered by Google App Engine
This is Rietveld 408576698