1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
content / test / data / accessibility / html / modal-dialog-closed.html [blame]
<!--
@WIN-ALLOW:haspopup*
@AURALINUX-ALLOW:haspopup*
@AURALINUX-ALLOW:expand*
@AURALINUX-ALLOW:select*
@BLINK-ALLOW:haspopup*
-->
<html>
<body>
Test that elements respawn in the accessibility tree after a modal dialog
closes.
<section>
<dialog>This dialog is closed and should not be in the tree</dialog>
<select>
<optgroup label="Group">
<option>This should be in the tree.</option>
</optgroup>
</select>
</section>
<input type=color>
<script>
var dialog = document.querySelector('dialog');
dialog.showModal();
dialog.close();
</script>
</body>
</html>