2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
9 background-color: #
99f;
18 background-color: #f99;
23 <div id=
"outer" aria-label=
"Don't ignore me">
24 <div id=
"inner" aria-label=
"Or me">
25 This element is totally obscured by
"outer", it's not visible.
27 This element totally obscures
"inner", but it's still possible to context-click
28 on
"inner" using accessibiltiy APIs.
32 async_test(function(t
)
34 var target
= document
.getElementById("inner");
35 target
.addEventListener('contextmenu', function() {
36 document
.getElementById("outer").style
.display
= "none";
40 var axTarget
= accessibilityController
.accessibleElementById("inner");
42 }, "can use accessibility to show context menu on element that's obscured behind another");