button_haspopup_false-manual.html (3090B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>button haspopup false</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_PUSH_BUTTON" 25 ], 26 [ 27 "property", 28 "states", 29 "doesNotContain", 30 "STATE_HAS_POPUP" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "property", 36 "AXRole", 37 "is", 38 "AXButton" 39 ], 40 [ 41 "property", 42 "AXSubrole", 43 "is", 44 "<nil>" 45 ], 46 [ 47 "property", 48 "AXRoleDescription", 49 "is", 50 "button" 51 ], 52 [ 53 "property", 54 "actions", 55 "doesNotContain", 56 "AXShowMenu" 57 ] 58 ], 59 "IAccessible2" : [ 60 [ 61 "property", 62 "role", 63 "is", 64 "ROLE_SYSTEM_PUSHBUTTON" 65 ], 66 [ 67 "property", 68 "objectAttributes", 69 "contains", 70 "haspopup:false" 71 ] 72 ], 73 "MSAA" : [ 74 [ 75 "property", 76 "role", 77 "is", 78 "ROLE_SYSTEM_PUSHBUTTON" 79 ], 80 [ 81 "property", 82 "states", 83 "doesNotContain", 84 "STATE_SYSTEM_HASPOPUP" 85 ] 86 ], 87 "UIA" : [ 88 [ 89 "property", 90 "IUIAutomationElement.ControlType", 91 "is", 92 "Button" 93 ], 94 [ 95 "property", 96 "controlPatterns", 97 "doesNotContain", 98 "ExpandCollapse" 99 ] 100 ] 101 }, 102 "title" : "step 1", 103 "type" : "test" 104 } 105 ], 106 "title" : "button haspopup false" 107 } 108 109 ) ; 110 </script> 111 </head> 112 <body> 113 <p>This test examines the ARIA properties for button haspopup false.</p> 114 <div id="test" role="button" aria-haspopup="false"> 115 OK 116 </div> 117 118 119 <div id="manualMode"></div> 120 <div id="log"></div> 121 <div id="ATTAmessages"></div> 122 </body> 123 </html>