Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: Source/core/accessibility/AccessibilityRenderObject.cpp

Issue 15674002: Fix issue where iframe content wasn't included in the accessibility tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderWidget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AccessibilityRenderObject.cpp
diff --git a/Source/core/accessibility/AccessibilityRenderObject.cpp b/Source/core/accessibility/AccessibilityRenderObject.cpp
index 3ccddb6bc8cbecb568959c7f04643ccde64ba68a..4c3e46c034abee7e96ce117976f9a93f5100acba 100644
--- a/Source/core/accessibility/AccessibilityRenderObject.cpp
+++ b/Source/core/accessibility/AccessibilityRenderObject.cpp
@@ -522,7 +522,7 @@ bool AccessibilityRenderObject::isAttachment() const
// Widgets are the replaced elements that we represent to AX as attachments
bool isWidget = renderer->isWidget();
ASSERT(!isWidget || (renderer->isReplaced() && !isImage()));
- return isWidget && ariaRoleAttribute() == UnknownRole;
+ return isWidget;
}
bool AccessibilityRenderObject::isFileUploadButton() const
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698