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

Unified Diff: ui/views/controls/button/menu_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/custom_button.cc ('k') | ui/views/controls/combobox/combobox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/menu_button.cc
diff --git a/ui/views/controls/button/menu_button.cc b/ui/views/controls/button/menu_button.cc
index af3cd2c3f7d70f71dffd333af148474317cfd354..f5cc90ba1814e690eb4b6459fe4c0f4ab3be9585 100644
--- a/ui/views/controls/button/menu_button.cc
+++ b/ui/views/controls/button/menu_button.cc
@@ -301,8 +301,8 @@ void MenuButton::GetAccessibleNodeData(ui::AXNodeData* node_data) {
node_data->role = ui::AX_ROLE_POP_UP_BUTTON;
node_data->AddState(ui::AX_STATE_HASPOPUP);
if (enabled()) {
- node_data->AddIntAttribute(ui::AX_ATTR_ACTION,
- ui::AX_SUPPORTED_ACTION_OPEN);
+ node_data->AddIntAttribute(ui::AX_ATTR_DEFAULT_ACTION_VERB,
+ ui::AX_DEFAULT_ACTION_VERB_OPEN);
}
}
« no previous file with comments | « ui/views/controls/button/custom_button.cc ('k') | ui/views/controls/combobox/combobox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698