combobox_readonly_false-manual.html (3969B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>combobox readonly 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_COMBO_BOX" 25 ], 26 [ 27 "property", 28 "states", 29 "contains", 30 "STATE_EXPANDABLE" 31 ], 32 [ 33 "property", 34 "states", 35 "contains", 36 "STATE_HAS_POPUP" 37 ], 38 [ 39 "property", 40 "states", 41 "doesNotContain", 42 "STATE_READ_ONLY" 43 ] 44 ], 45 "AXAPI" : [ 46 [ 47 "property", 48 "AXRole", 49 "is", 50 "AXComboBox" 51 ], 52 [ 53 "property", 54 "AXSubrole", 55 "is", 56 "<nil>" 57 ], 58 [ 59 "property", 60 "AXRoleDescription", 61 "is", 62 "combo box" 63 ], 64 [ 65 "result", 66 "AXUIElementIsAttributeSettable(AXValue)", 67 "is", 68 "true" 69 ] 70 ], 71 "IAccessible2" : [ 72 [ 73 "property", 74 "role", 75 "is", 76 "ROLE_SYSTEM_COMBOBOX" 77 ], 78 [ 79 "property", 80 "objectAttributes", 81 "contains", 82 "haspopup:listbox" 83 ], 84 [ 85 "property", 86 "states", 87 "contains", 88 "IA2_STATE_EDITABLE" 89 ] 90 ], 91 "MSAA" : [ 92 [ 93 "property", 94 "role", 95 "is", 96 "ROLE_SYSTEM_COMBOBOX" 97 ], 98 [ 99 "property", 100 "states", 101 "contains", 102 "STATE_SYSTEM_HASPOPUP" 103 ], 104 [ 105 "property", 106 "states", 107 "contains", 108 "STATE_SYSTEM_EXPANDED" 109 ] 110 ], 111 "UIA" : [ 112 [ 113 "property", 114 "ControlType", 115 "is", 116 "Combobox" 117 ], 118 [ 119 "property", 120 "Value.IsReadOnly", 121 "is", 122 "false" 123 ] 124 ] 125 }, 126 "title" : "step 1", 127 "type" : "test" 128 } 129 ], 130 "title" : "combobox readonly false" 131 } 132 133 ) ; 134 </script> 135 </head> 136 <body> 137 <p>This test examines the ARIA properties for combobox readonly false.</p> 138 <div id="test" role="combobox" aria-readonly="false" aria-owns="myID" aria-expanded="true" aria-haspopup="listbox"><span role="textbox">option 3</span></div> 139 <div role="listbox" id="myID"> 140 <div role="option">option 1</div> 141 <div role="option">option 2</div> 142 <div role="option">option 3</div> 143 </div> 144 145 <div id="manualMode"></div> 146 <div id="log"></div> 147 <div id="ATTAmessages"></div> 148 </body> 149 </html>