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

Unified Diff: content/browser/accessibility/browser_accessibility_com_win.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/browser/accessibility/browser_accessibility_com_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_com_win.cc b/content/browser/accessibility/browser_accessibility_com_win.cc
index 966dccadf6cd54ea22ad20e857d64dc9b60f87ba..cc3d12509d8b5ee75518ff1ed5d00d6e3ff7b1b7 100644
--- a/content/browser/accessibility/browser_accessibility_com_win.cc
+++ b/content/browser/accessibility/browser_accessibility_com_win.cc
@@ -5204,7 +5204,7 @@ void BrowserAccessibilityComWin::InitRoleAndState() {
if (owner()->HasState(ui::AX_STATE_EDITABLE))
ia2_state |= IA2_STATE_EDITABLE;
- if (owner()->GetBoolAttribute(ui::AX_ATTR_CAN_SET_VALUE))
+ if (owner()->HasAction(ui::AX_ACTION_SET_VALUE))
ia2_state |= IA2_STATE_EDITABLE;
if (!owner()->GetStringAttribute(ui::AX_ATTR_AUTO_COMPLETE).empty())

Powered by Google App Engine
This is Rietveld 408576698