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

Issue 15674002: Fix issue where iframe content wasn't included in the accessibility tree. (Closed)

Created:
7 years, 7 months ago by dmazzoni
Modified:
7 years, 6 months ago
CC:
blink-reviews, eae+blinkwatch, jchaffraix+rendering, aboxhall, leviw+renderwatch
Visibility:
Public.

Description

Fix issue where iframe content wasn't included in the accessibility tree. Have RenderWidget notify the accessibility object when its widget changes, otherwise the AccessibilityRenderObject for the iframe might have a stale reference to the previous widget. (This wouldn't crash, it'd just result in an empty subtree until some other event triggered it to update.) Also, remove a check that made isAttachment return false if an iframe element had an ARIA role. I don't believe an ARIA role on an iframe should ever have the effect of hiding its contents - it's unlikely that's what the web author wanted, and if the web author really wants that they can use aria-hidden. This allows us to re-enable this test, that was previously failing flakily because of this bug: loading-iframe-updates-axtree.html BUG=242811 R=aboxhall@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151615

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/accessibility/AccessibilityRenderObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderWidget.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dmazzoni
7 years, 7 months ago (2013-05-22 06:19:27 UTC) #1
eseidel
Sadness. All of this widget code is sadness. Setting the Widget causes a layout of ...
7 years, 7 months ago (2013-05-22 06:27:57 UTC) #2
dmazzoni
On 2013/05/22 06:27:57, eseidel wrote: > Sadness. All of this widget code is sadness. Is ...
7 years, 7 months ago (2013-05-22 06:48:45 UTC) #3
dmazzoni
On 2013/05/22 06:48:45, Dominic Mazzoni wrote: > > Curious why other ports didn't need this? ...
7 years, 7 months ago (2013-05-22 06:51:25 UTC) #4
eseidel
I was assuming by the test being fail for us, but presumably passingd for other ...
7 years, 7 months ago (2013-05-22 07:15:49 UTC) #5
aboxhall
https://codereview.chromium.org/15674002/diff/1/Source/core/rendering/RenderWidget.cpp File Source/core/rendering/RenderWidget.cpp (right): https://codereview.chromium.org/15674002/diff/1/Source/core/rendering/RenderWidget.cpp#newcode208 Source/core/rendering/RenderWidget.cpp:208: if (AXObjectCache* cache = document()->existingAXObjectCache()) Can you help me ...
7 years, 7 months ago (2013-05-22 16:05:10 UTC) #6
dmazzoni
https://codereview.chromium.org/15674002/diff/1/Source/core/rendering/RenderWidget.cpp File Source/core/rendering/RenderWidget.cpp (right): https://codereview.chromium.org/15674002/diff/1/Source/core/rendering/RenderWidget.cpp#newcode208 Source/core/rendering/RenderWidget.cpp:208: if (AXObjectCache* cache = document()->existingAXObjectCache()) On 2013/05/22 16:05:10, aboxhall ...
7 years, 7 months ago (2013-05-22 16:28:13 UTC) #7
aboxhall
lgtm Thanks for the explanation!
7 years, 7 months ago (2013-05-22 16:34:32 UTC) #8
dmazzoni
@eseidel - i need an lgtm from an owner still, could you approve?
7 years, 7 months ago (2013-05-23 14:59:57 UTC) #9
dmazzoni
Ping - I still need a review from an owner.
7 years, 6 months ago (2013-05-27 22:43:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/15674002/1
7 years, 6 months ago (2013-05-29 18:31:40 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=10760
7 years, 6 months ago (2013-05-29 19:06:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/15674002/1
7 years, 6 months ago (2013-05-30 14:45:51 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout_rel&number=7790
7 years, 6 months ago (2013-05-30 16:53:38 UTC) #14
dmazzoni
7 years, 6 months ago (2013-06-02 22:13:31 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 manually as r151615 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698