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 f8aadbcf0dd37bc43d44bbd1545f91cdc4308506..acfc35c1b6c901a24e544b525e7296dbbdb3d950 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.cc |
+++ b/content/browser/accessibility/browser_accessibility_win.cc |
@@ -3690,9 +3690,12 @@ void BrowserAccessibilityWin::InitRoleAndState() { |
ia2_role_ = IA2_ROLE_SECTION; |
break; |
case ui::AX_ROLE_REGION: |
- ia_role_ = ROLE_SYSTEM_GROUPING; |
- ia2_role_ = IA2_ROLE_SECTION; |
- ia_state_ |= STATE_SYSTEM_READONLY; |
+ if (html_tag == L"section") { |
+ ia_role_ = ROLE_SYSTEM_GROUPING; |
+ ia2_role_ = IA2_ROLE_SECTION; |
+ } else { |
+ ia_role_ = ROLE_SYSTEM_PANE; |
+ } |
break; |
case ui::AX_ROLE_ROW: |
ia_role_ = ROLE_SYSTEM_ROW; |