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

Unified Diff: ui/views/controls/textfield/textfield.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/combobox/combobox.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index 147e648f580a874c441183cb4d834bb0e5074a93..cd6aa219b7ecd3e81996806c9d5c3f9e8e03d568 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -917,8 +917,8 @@ void Textfield::GetAccessibleNodeData(ui::AXNodeData* node_data) {
node_data->role = ui::AX_ROLE_TEXT_FIELD;
node_data->SetName(accessible_name_);
if (enabled()) {
- node_data->AddIntAttribute(ui::AX_ATTR_ACTION,
- ui::AX_SUPPORTED_ACTION_ACTIVATE);
+ node_data->AddIntAttribute(ui::AX_ATTR_DEFAULT_ACTION_VERB,
+ ui::AX_DEFAULT_ACTION_VERB_ACTIVATE);
}
if (read_only())
node_data->AddState(ui::AX_STATE_READ_ONLY);
« no previous file with comments | « ui/views/controls/combobox/combobox.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698