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

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

Issue 711003003: Map ROLE_SYSTEM_GROUPING to AX role for figure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/figcaption-expected-win.txt » ('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 47951b1a0e2ce6943fd5722a1b2f8d452c0537e0..909070002a2214b2da3210f0c39d1de19f3a2cf1 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3518,9 +3518,7 @@ void BrowserAccessibilityWin::InitRoleAndState() {
ia2_role_ = IA2_ROLE_CAPTION;
break;
case ui::AX_ROLE_FIGURE:
- role_name_ = html_tag;
ia_role_ = ROLE_SYSTEM_GROUPING;
- ia2_role_ = IA2_ROLE_SECTION;
break;
case ui::AX_ROLE_FORM:
role_name_ = L"form";
« no previous file with comments | « no previous file | content/test/data/accessibility/figcaption-expected-win.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698