| Index: Source/core/accessibility/AXRenderObject.cpp
|
| diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
|
| index 691af627e14e868d72ca0625be96a2ee114cd7ee..a3106b22c7cba331614e7dc8e9cbf8efd4923b1f 100644
|
| --- a/Source/core/accessibility/AXRenderObject.cpp
|
| +++ b/Source/core/accessibility/AXRenderObject.cpp
|
| @@ -749,7 +749,7 @@ bool AXRenderObject::computeAccessibilityIsIgnored() const
|
|
|
| // Don't ignore generic focusable elements like <div tabindex=0>
|
| // unless they're completely empty, with no children.
|
| - if (isGenericFocusableElement() && node->firstChild())
|
| + if (isGenericFocusableElement() && node->hasChildren())
|
| return false;
|
|
|
| if (!ariaAccessibilityDescription().isEmpty())
|
|
|