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