| Index: Source/core/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
|
| index 2d5b5f4fa0838cc41df4ecf74d763745f748428c..0cb346920078747a73eb434eb5ff7f9dbfb2c473 100644
|
| --- a/Source/core/accessibility/AXNodeObject.cpp
|
| +++ b/Source/core/accessibility/AXNodeObject.cpp
|
| @@ -669,7 +669,7 @@ bool AXNodeObject::isEnabled() const
|
| if (!node || !node->isElementNode())
|
| return true;
|
|
|
| - return !node->isInert() && !toElement(node)->isDisabledFormControl();
|
| + return !toElement(node)->isDisabledFormControl();
|
| }
|
|
|
| bool AXNodeObject::isIndeterminate() const
|
| @@ -1090,7 +1090,7 @@ static bool shouldUseAccessiblityObjectInnerText(AXObject* obj)
|
| // containers with lots of children.
|
|
|
| // Skip hidden children
|
| - if (equalIgnoringCase(obj->getAttribute(aria_hiddenAttr), "true"))
|
| + if (obj->isInertOrAriaHidden())
|
| return false;
|
|
|
| // Skip focusable children, so we don't include the text of links and controls.
|
|
|