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 103221cf696c60d6787b5c4865bdb8996141f85a..eadbe616a5c0cabeba2399be87ccc81a13b8a6d7 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.cc |
+++ b/content/browser/accessibility/browser_accessibility_win.cc |
@@ -3682,6 +3682,11 @@ void BrowserAccessibilityWin::InitRoleAndState() { |
ia_role_ = ROLE_SYSTEM_BUTTONMENU; |
} |
break; |
+ case ui::AX_ROLE_PRE: |
+ role_name_ = html_tag; |
+ ia_role_ = ROLE_SYSTEM_TEXT; |
+ ia2_role_ = IA2_ROLE_PARAGRAPH; |
+ break; |
case ui::AX_ROLE_PROGRESS_INDICATOR: |
ia_role_ = ROLE_SYSTEM_PROGRESSBAR; |
ia_state_ |= STATE_SYSTEM_READONLY; |