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..1bc2a5a6a4fbc7885ef607b489ce98d4eb4c8641 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.cc |
+++ b/content/browser/accessibility/browser_accessibility_win.cc |
@@ -2928,6 +2928,8 @@ void BrowserAccessibilityWin::OnDataChanged() { |
if (ia_role_ == ROLE_SYSTEM_CHECKBUTTON || |
ia_role_ == ROLE_SYSTEM_RADIOBUTTON || |
+ ia2_role_ == IA2_ROLE_CHECK_MENU_ITEM || |
+ ia2_role_ == IA2_ROLE_RADIO_MENU_ITEM || |
ia2_role_ == IA2_ROLE_TOGGLE_BUTTON) { |
ia2_attributes_.push_back(L"checkable:true"); |
} |
@@ -3612,6 +3614,14 @@ void BrowserAccessibilityWin::InitRoleAndState() { |
case ui::AX_ROLE_MENU_ITEM: |
ia_role_ = ROLE_SYSTEM_MENUITEM; |
break; |
+ case ui::AX_ROLE_MENU_ITEM_CHECK_BOX: |
+ ia_role_ = ROLE_SYSTEM_MENUITEM; |
+ ia2_role_ = IA2_ROLE_CHECK_MENU_ITEM; |
+ break; |
+ case ui::AX_ROLE_MENU_ITEM_RADIO: |
+ ia_role_ = ROLE_SYSTEM_MENUITEM; |
+ ia2_role_ = IA2_ROLE_RADIO_MENU_ITEM; |
+ break; |
case ui::AX_ROLE_MENU_LIST_POPUP: |
ia_role_ = ROLE_SYSTEM_CLIENT; |
break; |