Index: Source/core/accessibility/AXObject.cpp |
diff --git a/Source/core/accessibility/AXObject.cpp b/Source/core/accessibility/AXObject.cpp |
index 1b68e94a7fbcf98e1e814eefba9b4962f64e4a8b..c296ddfbda8c8dcc53211a281e49abb716bcb372 100644 |
--- a/Source/core/accessibility/AXObject.cpp |
+++ b/Source/core/accessibility/AXObject.cpp |
@@ -91,8 +91,8 @@ static ARIARoleMap* createARIARoleMap() |
{ "menu", MenuRole }, |
{ "menubar", MenuBarRole }, |
{ "menuitem", MenuItemRole }, |
- { "menuitemcheckbox", MenuItemRole }, |
- { "menuitemradio", MenuItemRole }, |
+ { "menuitemcheckbox", MenuItemCheckBoxRole }, |
+ { "menuitemradio", MenuItemRadioRole }, |
{ "note", NoteRole }, |
{ "navigation", NavigationRole }, |
{ "none", NoneRole }, |
@@ -202,6 +202,8 @@ bool AXObject::isMenuRelated() const |
case MenuBarRole: |
case MenuButtonRole: |
case MenuItemRole: |
+ case MenuItemCheckBoxRole: |
+ case MenuItemRadioRole: |
return true; |
default: |
return false; |