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 397214b5546706ee0797775eec316226fef888af..61ae4a56069a99693616b298a28335c71fe61906 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.cc |
+++ b/content/browser/accessibility/browser_accessibility_win.cc |
@@ -3397,6 +3397,10 @@ void BrowserAccessibilityWin::InitRoleAndState() { |
ia_role_ = ROLE_SYSTEM_DOCUMENT; |
ia_state_ |= STATE_SYSTEM_READONLY; |
break; |
+ case ui::AX_ROLE_BANNER: |
+ ia_role_ = ROLE_SYSTEM_GROUPING; |
+ ia2_role_ = IA2_ROLE_HEADER; |
+ break; |
case ui::AX_ROLE_BUSY_INDICATOR: |
ia_role_ = ROLE_SYSTEM_ANIMATION; |
ia_state_ |= STATE_SYSTEM_READONLY; |
@@ -3575,7 +3579,6 @@ void BrowserAccessibilityWin::InitRoleAndState() { |
ia_role_ = ROLE_SYSTEM_TEXT; |
ia2_role_ = IA2_ROLE_LABEL; |
break; |
- case ui::AX_ROLE_BANNER: |
case ui::AX_ROLE_SEARCH: |
ia_role_ = ROLE_SYSTEM_GROUPING; |
ia2_role_ = IA2_ROLE_SECTION; |