Commit d49dcd89 authored by Aaron Leventhal's avatar Aaron Leventhal Committed by Chromium LUCI CQ

Add tests to exercise hypertext on hidden iframes

TBR=kbabbitt@microsoft.com

Bug: None
Change-Id: I14d580e7e20409fdf2ecc4d8a9294076f11ec07d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584562Reviewed-by: default avatarAaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#836899}
parent 67c9378b
...@@ -1692,6 +1692,11 @@ IN_PROC_BROWSER_TEST_P(DumpAccessibilityTreeTest, AccessibilityIframe) { ...@@ -1692,6 +1692,11 @@ IN_PROC_BROWSER_TEST_P(DumpAccessibilityTreeTest, AccessibilityIframe) {
RunHtmlTest(FILE_PATH_LITERAL("iframe.html")); RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
} }
IN_PROC_BROWSER_TEST_P(DumpAccessibilityTreeTest,
AccessibilityIframeAriaHidden) {
RunHtmlTest(FILE_PATH_LITERAL("iframe-aria-hidden.html"));
}
IN_PROC_BROWSER_TEST_P(DumpAccessibilityTreeTest, IN_PROC_BROWSER_TEST_P(DumpAccessibilityTreeTest,
AccessibilityIframeScrollable) { AccessibilityIframeScrollable) {
RunHtmlTest(FILE_PATH_LITERAL("iframe-scrollable.html")); RunHtmlTest(FILE_PATH_LITERAL("iframe-scrollable.html"));
......
android.webkit.WebView focusable focused scrollable
++android.view.View invisible
++android.view.View invisible
\ No newline at end of file
rootWebArea
++genericContainer ignored
++++genericContainer ignored
++++++iframe invisible
++++++iframe invisible
Document
++Document IsControlElement=false
++Document IsControlElement=false
\ No newline at end of file
ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE ia2_hypertext='<obj0><obj1>'
++IA2_ROLE_INTERNAL_FRAME INVISIBLE
++IA2_ROLE_INTERNAL_FRAME INVISIBLE
\ No newline at end of file
<!--
@WIN-ALLOW:ia2_hypertext=*
-->
<iframe tabindex="-1" aria-hidden="true" style="position: absolute; width: 9em; height: 9em; top: -99em;"></iframe>
<iframe aria-hidden="true" style="position: absolute; width: 9em; height: 9em; top: -99em;"></iframe>
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
@WIN-ALLOW:ia2_hypertext=* @WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:parent=* @WIN-ALLOW:parent=*
@WIN-ALLOW:window_class=* @WIN-ALLOW:window_class=*
@WIN-ALLOW:ia2_hypertext=*
@BLINK-ALLOW:scrollable=* @BLINK-ALLOW:scrollable=*
TODO(accessibility) this should eventually show scrollable=false for both the main doc and iframe. See matching TODO in AXObject::IsUserScrollable(). TODO(accessibility) this should eventually show scrollable=false for both the main doc and iframe. See matching TODO in AXObject::IsUserScrollable().
--> -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment