dialog_modal_true-manual.html (2601B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>dialog modal true</title> 5 <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> 6 <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> 7 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 <script src="/wai-aria/scripts/ATTAcomm.js"></script> 10 <script> 11 setup({explicit_timeout: true, explicit_done: true }); 12 13 var theTest = new ATTAcomm( 14 { 15 "steps" : [ 16 { 17 "element" : "test", 18 "test" : { 19 "ATK" : [ 20 [ 21 "property", 22 "role", 23 "is", 24 "ROLE_DIALOG" 25 ], 26 [ 27 "property", 28 "states", 29 "contains", 30 "STATE_MODAL" 31 ] 32 ], 33 "IAccessible2" : [ 34 [ 35 "property", 36 "role", 37 "is", 38 "ROLE_SYSTEM_DIALOG" 39 ], 40 [ 41 "property", 42 "states", 43 "contains", 44 "IA2_STATE_MODAL" 45 ] 46 ], 47 "MSAA" : [ 48 [ 49 "property", 50 "role", 51 "is", 52 "ROLE_SYSTEM_DIALOG" 53 ] 54 ], 55 "UIA" : [ 56 [ 57 "property", 58 "ControlType", 59 "is", 60 "Pane" 61 ], 62 [ 63 "result", 64 "Window.isModal", 65 "is", 66 "true" 67 ] 68 ] 69 }, 70 "title" : "step 1", 71 "type" : "test" 72 }, 73 { 74 "element" : "Test2", 75 "test" : { 76 "AXAPI" : [ 77 [ 78 "property", 79 "accessible", 80 "is", 81 "false" 82 ] 83 ] 84 }, 85 "title" : "step 2", 86 "type" : "test" 87 } 88 ], 89 "title" : "dialog modal true" 90 } 91 92 ) ; 93 </script> 94 </head> 95 <body> 96 <p>This test examines the ARIA properties for dialog modal true.</p> 97 <body> 98 <h1 id="Test2">Modal Dialog Box Test</h1> 99 <div role="dialog" aria-modal="true" id="test"> 100 <input type="button" value="ok"/> 101 </div> 102 </body> 103 104 <div id="manualMode"></div> 105 <div id="log"></div> 106 <div id="ATTAmessages"></div> 107 </body> 108 </html>