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

Unified Diff: ui/views/controls/button/custom_button.cc

Issue 2863703003: A11y: Rename AXSupportedAction to AXDefaultActionVerb. (Closed)
Patch Set: 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
« no previous file with comments | « ui/views/controls/button/checkbox.cc ('k') | ui/views/controls/button/menu_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/custom_button.cc
diff --git a/ui/views/controls/button/custom_button.cc b/ui/views/controls/button/custom_button.cc
index c5f602d5a5514378ea06e1378fe535f2db1d5dd9..f79a25132c96b175f3a53fbe0ef247a7f1762d9f 100644
--- a/ui/views/controls/button/custom_button.cc
+++ b/ui/views/controls/button/custom_button.cc
@@ -370,8 +370,8 @@ void CustomButton::GetAccessibleNodeData(ui::AXNodeData* node_data) {
break;
}
if (enabled()) {
- node_data->AddIntAttribute(ui::AX_ATTR_ACTION,
- ui::AX_SUPPORTED_ACTION_PRESS);
+ node_data->AddIntAttribute(ui::AX_ATTR_DEFAULT_ACTION_VERB,
+ ui::AX_DEFAULT_ACTION_VERB_PRESS);
}
}
« no previous file with comments | « ui/views/controls/button/checkbox.cc ('k') | ui/views/controls/button/menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698