Bug 117456 - Fix issue where iframe content wasn't included in the accessibility tree
Summary: Fix issue where iframe content wasn't included in the accessibility tree
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: BlinkMergeCandidate, InRadar
Depends on:
Blocks:
 
Reported: 2013-06-10 17:56 PDT by Ryosuke Niwa
Modified: 2022-10-11 14:47 PDT (History)
9 users (show)

See Also:


Attachments
patch (1.28 KB, patch)
2013-06-10 18:45 PDT, chris fleizach
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion (652.54 KB, application/zip)
2013-06-10 22:05 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 (718.72 KB, application/zip)
2013-06-13 17:47 PDT, Build Bot
no flags Details
patch (1.39 KB, patch)
2013-06-13 17:54 PDT, chris fleizach
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion (666.01 KB, application/zip)
2013-06-13 20:01 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2 (643.66 KB, application/zip)
2013-06-20 12:41 PDT, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-06-10 17:56:59 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/af4e73e2bfb32fce56854ef0dab33077c7fa6bff

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
Comment 1 chris fleizach 2013-06-10 17:59:42 PDT
The RenderWidget.cpp change in this diffset we should take, but I am not convinced about the other one (where ariaRole=Unknown is removed).. if someone sets a role on the <iframe> i'm not convinced we still always want to expose it... i'm sure that would break some existing mac test. however, the behavior there may need to be more refined
Comment 2 chris fleizach 2013-06-10 18:45:45 PDT
Created attachment 204275 [details]
patch
Comment 3 Ryosuke Niwa 2013-06-10 19:59:36 PDT
Thanks for the merge!
Comment 4 Build Bot 2013-06-10 22:05:05 PDT
Comment on attachment 204275 [details]
patch

Attachment 204275 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/799099

New failing tests:
editing/selection/selection-plugin-clear-crash.html
plugins/destroy-during-npp-new-object-with-fallback-content.html
plugins/destroy-during-npp-new.html
Comment 5 Build Bot 2013-06-10 22:05:07 PDT
Created attachment 204283 [details]
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-05  Port: mac-mountainlion  Platform: Mac OS X 10.8.3
Comment 6 Build Bot 2013-06-13 17:47:50 PDT
Comment on attachment 204275 [details]
patch

Attachment 204275 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/852238

New failing tests:
editing/selection/selection-plugin-clear-crash.html
plugins/update-widgets-crash.html
plugins/destroy-during-npp-new.html
plugins/destroy-during-npp-new-object-with-fallback-content.html
Comment 7 Build Bot 2013-06-13 17:47:51 PDT
Created attachment 204655 [details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-12  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.3
Comment 8 chris fleizach 2013-06-13 17:54:07 PDT
Created attachment 204656 [details]
patch

A patch that doesn't crash (I think)
Comment 9 Build Bot 2013-06-13 20:01:38 PDT
Comment on attachment 204656 [details]
patch

Attachment 204656 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/851219

New failing tests:
editing/selection/selection-plugin-clear-crash.html
plugins/destroy-during-npp-new-object-with-fallback-content.html
plugins/destroy-during-npp-new.html
fast/repaint/table-cell-collapsed-border-scroll.html
Comment 10 Build Bot 2013-06-13 20:01:40 PDT
Created attachment 204665 [details]
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-01  Port: mac-mountainlion  Platform: Mac OS X 10.8.3
Comment 11 Build Bot 2013-06-20 12:41:02 PDT
Comment on attachment 204656 [details]
patch

Attachment 204656 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/887094

New failing tests:
editing/selection/selection-plugin-clear-crash.html
plugins/destroy-during-npp-new-object-with-fallback-content.html
plugins/destroy-during-npp-new.html
plugins/update-widgets-crash.html
Comment 12 Build Bot 2013-06-20 12:41:04 PDT
Created attachment 205112 [details]
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-11  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.3
Comment 13 Radar WebKit Bug Importer 2014-02-07 11:33:31 PST
<rdar://problem/16014097>
Comment 14 Csaba Osztrogonác 2014-02-13 04:13:21 PST
Comment on attachment 204275 [details]
patch

Cleared Ryosuke Niwa's review+ from obsolete attachment 204275 [details] so that this bug does not appear in http://webkit.org/pending-commit.
Comment 15 EWS 2022-10-11 14:47:04 PDT
Committed 255407@main (0efc0bf9f325): <https://commits.webkit.org/255407@main>

Reviewed commits have been landed. Closing PR #5003 and removing active labels.