aria-haspopup_tree-manual.html (2435B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>aria-haspopup=tree</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 "states", 23 "contains", 24 "STATE_HAS_POPUP" 25 ], 26 [ 27 "property", 28 "objectAttributes", 29 "contains", 30 "haspopup:tree" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "property", 36 "actions", 37 "contains", 38 "AXShowMenu" 39 ], 40 [ 41 "property", 42 "actions", 43 "doesNotContain", 44 "AXPress" 45 ], 46 [ 47 "property", 48 "AXPopupValue", 49 "is", 50 "tree" 51 ] 52 ], 53 "IAccessible2" : [ 54 [ 55 "property", 56 "objectAttributes", 57 "contains", 58 "haspopup:tree" 59 ] 60 ], 61 "MSAA" : [ 62 [ 63 "property", 64 "states", 65 "contains", 66 "STATE_SYSTEM_HASPOPUP" 67 ] 68 ], 69 "UIA" : [ 70 [ 71 "property", 72 "Control Pattern", 73 "is", 74 "ExpandCollapse" 75 ] 76 ] 77 }, 78 "title" : "step 1", 79 "type" : "test" 80 } 81 ], 82 "title" : "aria-haspopup=tree" 83 } 84 85 ) ; 86 </script> 87 </head> 88 <body> 89 <p>This test examines the ARIA properties for aria-haspopup=tree.</p> 90 <div role='button' id='test' aria-haspopup='tree'>content</div> 91 92 <div id="manualMode"></div> 93 <div id="log"></div> 94 <div id="ATTAmessages"></div> 95 </body> 96 </html>