searchbox_autocomplete_both-manual.html (3399B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>searchbox autocomplete both</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_ENTRY" 25 ], 26 [ 27 "property", 28 "objectAttributes", 29 "contains", 30 "autocomplete:both" 31 ], 32 [ 33 "property", 34 "states", 35 "contains", 36 "STATE_SUPPORTS_AUTOCOMPLETION" 37 ] 38 ], 39 "AXAPI" : [ 40 [ 41 "property", 42 "AXRole", 43 "is", 44 "AXTextField" 45 ], 46 [ 47 "property", 48 "AXSubrole", 49 "is", 50 "AXSearchField" 51 ], 52 [ 53 "property", 54 "AXRoleDescription", 55 "is", 56 "search text field" 57 ], 58 [ 59 "property", 60 "autocomplete", 61 "is", 62 "<nil>" 63 ] 64 ], 65 "IAccessible2" : [ 66 [ 67 "property", 68 "role", 69 "is", 70 "ROLE_SYSTEM_TEXT" 71 ], 72 [ 73 "property", 74 "objectAttributes", 75 "contains", 76 "text-input-type:search" 77 ], 78 [ 79 "property", 80 "objectAttributes", 81 "contains", 82 "autocomplete:both" 83 ] 84 ], 85 "MSAA" : [ 86 [ 87 "property", 88 "role", 89 "is", 90 "ROLE_SYSTEM_TEXT" 91 ] 92 ], 93 "UIA" : [ 94 [ 95 "property", 96 "ControlType", 97 "is", 98 "Edit" 99 ], 100 [ 101 "property", 102 "LocalizedControlType", 103 "is", 104 "search box" 105 ], 106 [ 107 "property", 108 "autocomplete", 109 "is", 110 "both" 111 ] 112 ] 113 }, 114 "title" : "step 1", 115 "type" : "test" 116 } 117 ], 118 "title" : "searchbox autocomplete both" 119 } 120 121 ) ; 122 </script> 123 </head> 124 <body> 125 <p>This test examines the ARIA properties for searchbox autocomplete both.</p> 126 <div id="test" role="searchbox" aria-autocomplete="both"></div> 127 128 129 <div id="manualMode"></div> 130 <div id="log"></div> 131 <div id="ATTAmessages"></div> 132 </body> 133 </html>