• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2@MAC-ALLOW:AXSubrole=*
3-->
4<html>
5<body>
6Test for modal dialog blocking a document.
7<section>
8  <dialog id="top-dialog">
9    The dialog subtree should be the only text content in the accessibility tree.
10    <a name="anchor" href="#link">Link inside the dialog.</a>
11  </dialog>
12  <select>
13    <optgroup label="Group">
14      <option>This should be pruned out of the tree.</option>
15    </optgroup>
16  </select>
17</section>
18<input type=file>
19<dialog id="bottom-dialog">
20  This is the pending dialog and should be pruned out.
21</dialog>
22<script>
23document.querySelector('#bottom-dialog').showModal();
24document.querySelector('#top-dialog').showModal();
25</script>
26</body>
27</html>
28