| Index: Source/core/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
|
| index 1140082d95d1d0efe228b4ba3fd2eb7612863ddc..656149516981184eb4f94d95e255a224f3731ba0 100644
|
| --- a/Source/core/accessibility/AXNodeObject.cpp
|
| +++ b/Source/core/accessibility/AXNodeObject.cpp
|
| @@ -709,6 +709,12 @@ bool AXNodeObject::isEnabled() const
|
| return !toElement(node)->isDisabledFormControl();
|
| }
|
|
|
| +bool AXNodeObject::supportsARIAExpanded() const
|
| +{
|
| + const AtomicString& expanded = getAttribute(aria_expandedAttr);
|
| + return equalIgnoringCase(expanded, "true") || equalIgnoringCase(expanded, "false");
|
| +}
|
| +
|
| bool AXNodeObject::isExpanded() const
|
| {
|
| if (equalIgnoringCase(getAttribute(aria_expandedAttr), "true"))
|
|
|