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

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: 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
Index: Source/core/accessibility/AccessibilityRenderObject.cpp
diff --git a/Source/core/accessibility/AccessibilityRenderObject.cpp b/Source/core/accessibility/AccessibilityRenderObject.cpp
index ea9a1a19ffb5277e404a88c4634abfd79bdac77e..0fc8ce26df6814a6446b577de47881f9724dbde1 100644
--- a/Source/core/accessibility/AccessibilityRenderObject.cpp
+++ b/Source/core/accessibility/AccessibilityRenderObject.cpp
@@ -523,7 +523,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

Powered by Google App Engine
This is Rietveld 408576698