Index: Source/modules/accessibility/AXNodeObject.cpp |
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp |
index c7aa9d355099f16ac6c8f915fc43ddb1347facbc..8bb62a70d5f0aad9855f8c3097aaec442a108296 100644 |
--- a/Source/modules/accessibility/AXNodeObject.cpp |
+++ b/Source/modules/accessibility/AXNodeObject.cpp |
@@ -730,7 +730,7 @@ bool AXNodeObject::isClickable() const |
bool AXNodeObject::isEnabled() const |
{ |
- if (equalIgnoringCase(getAttribute(aria_disabledAttr), "true")) |
+ if (isDescendantOfDisabledNode()) |
return false; |
Node* node = this->node(); |