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