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

Unified Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 712313003: Exposing AXRole* correctly for HTML input types on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating expectations Created 6 years, 1 month 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 | « no previous file | content/test/data/accessibility/input-color.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 6f8c9e1ab62e30adfd74226ca28ec39b719b4c13..c8ee3ab8c123738028d9dd7922b86a0a3a8ded6b 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3439,7 +3439,7 @@ void BrowserAccessibilityWin::InitRoleAndState() {
ia2_state_ |= IA2_STATE_CHECKABLE;
break;
case ui::AX_ROLE_COLOR_WELL:
- ia_role_ = ROLE_SYSTEM_CLIENT;
+ ia_role_ = ROLE_SYSTEM_TEXT;
ia2_role_ = IA2_ROLE_COLOR_CHOOSER;
break;
case ui::AX_ROLE_COLUMN:
@@ -3460,9 +3460,6 @@ void BrowserAccessibilityWin::InitRoleAndState() {
ia2_role_ = IA2_ROLE_PARAGRAPH;
break;
case ui::AX_ROLE_DATE:
- ia_role_ = ROLE_SYSTEM_DROPLIST;
- ia2_role_ = IA2_ROLE_DATE_EDITOR;
- break;
case ui::AX_ROLE_DATE_TIME:
ia_role_ = ROLE_SYSTEM_DROPLIST;
ia2_role_ = IA2_ROLE_DATE_EDITOR;
« no previous file with comments | « no previous file | content/test/data/accessibility/input-color.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698