combobox_readonly_true-manual.html (4130B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>combobox readonly 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_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 "contains", 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 "false" 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 "doesNotContain", 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_READONLY" 109 ], 110 [ 111 "property", 112 "states", 113 "contains", 114 "STATE_SYSTEM_EXPANDED" 115 ] 116 ], 117 "UIA" : [ 118 [ 119 "property", 120 "ControlType", 121 "is", 122 "Combobox" 123 ], 124 [ 125 "property", 126 "Value.IsReadOnly", 127 "is", 128 "true" 129 ] 130 ] 131 }, 132 "title" : "step 1", 133 "type" : "test" 134 } 135 ], 136 "title" : "combobox readonly true" 137 } 138 139 ) ; 140 </script> 141 </head> 142 <body> 143 <p>This test examines the ARIA properties for combobox readonly true.</p> 144 <div id="test" role="combobox" aria-readonly="true" aria-owns="myID" aria-expanded="true" aria-haspopup="listbox"><span role="textbox">option 3</span></div> 145 <div role="listbox" id="myID"> 146 <div role="option">option 1</div> 147 <div role="option">option 2</div> 148 <div role="option">option 3</div> 149 </div> 150 151 <div id="manualMode"></div> 152 <div id="log"></div> 153 <div id="ATTAmessages"></div> 154 </body> 155 </html>