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

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

Issue 623933005: ARIA role marquee should have ROLE_SYSTEM_ANIMATION as MSSA+IA2 role (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | content/test/data/accessibility/aria-marquee.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 13d0277c02d2531c50ce8f420c1677c4c87e53c5..355b188d632f874377ec820fbdf789716e1c15c4 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3598,6 +3598,9 @@ void BrowserAccessibilityWin::InitRoleAndState() {
ia_role_ = ROLE_SYSTEM_GROUPING;
ia2_role_ = IA2_ROLE_PARAGRAPH;
break;
+ case ui::AX_ROLE_MARQUEE:
+ ia_role_ = ROLE_SYSTEM_ANIMATION;
+ break;
case ui::AX_ROLE_MATH_ELEMENT:
ia_role_ = ROLE_SYSTEM_EQUATION;
ia_state_ |= STATE_SYSTEM_READONLY;
@@ -3791,7 +3794,6 @@ void BrowserAccessibilityWin::InitRoleAndState() {
case ui::AX_ROLE_IGNORED:
case ui::AX_ROLE_INCREMENTOR:
case ui::AX_ROLE_LOG:
- case ui::AX_ROLE_MARQUEE:
case ui::AX_ROLE_MATTE:
case ui::AX_ROLE_NONE:
case ui::AX_ROLE_PRESENTATIONAL:
« no previous file with comments | « no previous file | content/test/data/accessibility/aria-marquee.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698