| Index: Source/core/accessibility/AccessibilityRenderObject.cpp
|
| diff --git a/Source/core/accessibility/AccessibilityRenderObject.cpp b/Source/core/accessibility/AccessibilityRenderObject.cpp
|
| index 0ac0e5bf2cccdd2cddb3810d28b9c1dc2c17b6e1..bb5bf1e4d3c2090368419956975866ec0701fa2e 100644
|
| --- a/Source/core/accessibility/AccessibilityRenderObject.cpp
|
| +++ b/Source/core/accessibility/AccessibilityRenderObject.cpp
|
| @@ -39,6 +39,7 @@
|
| #include "core/editing/RenderedPosition.h"
|
| #include "core/editing/VisibleUnits.h"
|
| #include "core/editing/htmlediting.h"
|
| +#include "core/html/HTMLHtmlElement.h"
|
| #include "core/html/HTMLImageElement.h"
|
| #include "core/html/HTMLLabelElement.h"
|
| #include "core/html/HTMLOptionElement.h"
|
| @@ -432,7 +433,7 @@ AccessibilityRole AccessibilityRenderObject::determineAccessibilityRole()
|
| return LandmarkContentInfoRole;
|
|
|
| // The HTML element should not be exposed as an element. That's what the RenderView element does.
|
| - if (node && node->hasTagName(htmlTag))
|
| + if (node && isHTMLHtmlElement(node))
|
| return IgnoredRole;
|
|
|
| // There should only be one banner/contentInfo per page. If header/footer are being used within an article or section
|
|
|