Index: Source/modules/accessibility/AXObject.cpp |
diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp |
index 2185677552cafc4a1ddf8fcd6c0d33562d30ccd3..ceb74523b84fea23793723a2671ee7b098ae17fd 100644 |
--- a/Source/modules/accessibility/AXObject.cpp |
+++ b/Source/modules/accessibility/AXObject.cpp |
@@ -384,8 +384,12 @@ AccessibilityButtonState AXObject::checkboxOrRadioValue() const |
const AtomicString& result = getAttribute(aria_checkedAttr); |
if (equalIgnoringCase(result, "true")) |
return ButtonStateOn; |
- if (equalIgnoringCase(result, "mixed")) |
+ if (equalIgnoringCase(result, "mixed")) { |
+ AccessibilityRole role = ariaRoleAttribute(); |
+ if (role == RadioButtonRole || role == MenuItemRadioRole) |
+ return ButtonStateOff; |
return ButtonStateMixed; |
+ } |
return ButtonStateOff; |
} |