Index: Source/modules/accessibility/AXNodeObject.cpp |
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp |
index 75cd4a77849ba1a7e80ddbcd4286a37584464f44..9e36afccc94e001a0296a76b4ec95b7daf6b6881 100644 |
--- a/Source/modules/accessibility/AXNodeObject.cpp |
+++ b/Source/modules/accessibility/AXNodeObject.cpp |
@@ -727,7 +727,7 @@ bool AXNodeObject::isClickable() const |
bool AXNodeObject::isEnabled() const |
{ |
- if (equalIgnoringCase(getAttribute(aria_disabledAttr), "true")) |
+ if (isDescendantOfDisabledParent()) |
return false; |
Node* node = this->node(); |