treeitem_selected_undefined-manual.html (3087B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>treeitem selected undefined</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_TREE_ITEM" 25 ], 26 [ 27 "property", 28 "states", 29 "doesNotContain", 30 "STATE_SELECTED" 31 ], 32 [ 33 "property", 34 "states", 35 "contains", 36 "STATE_SELECTABLE" 37 ] 38 ], 39 "AXAPI" : [ 40 [ 41 "property", 42 "AXRole", 43 "is", 44 "AXRow" 45 ], 46 [ 47 "property", 48 "AXSubrole", 49 "is", 50 "AXOutlineRow" 51 ], 52 [ 53 "property", 54 "AXRoleDescription", 55 "is", 56 "outline row" 57 ], 58 [ 59 "property", 60 "AXSelected", 61 "is", 62 "false" 63 ] 64 ], 65 "MSAA" : [ 66 [ 67 "property", 68 "role", 69 "is", 70 "ROLE_SYSTEM_OUTLINEITEM" 71 ], 72 [ 73 "property", 74 "states", 75 "doesNotContain", 76 "STATE_SYSTEM_SELECTED" 77 ], 78 [ 79 "property", 80 "states", 81 "contains", 82 "STATE_SYSTEM_SELECTABLE" 83 ] 84 ], 85 "UIA" : [ 86 [ 87 "property", 88 "ControlType", 89 "is", 90 "TreeItem" 91 ], 92 [ 93 "property", 94 "ControlPatterns", 95 "doesNotContain", 96 "SelectionItem" 97 ] 98 ] 99 }, 100 "title" : "step 1", 101 "type" : "test" 102 } 103 ], 104 "title" : "treeitem selected undefined" 105 } 106 107 ) ; 108 </script> 109 </head> 110 <body> 111 <p>This test examines the ARIA properties for treeitem selected undefined.</p> 112 <UL role="tree"> 113 <li role="treeitem" id="test"> 114 Fish 115 </li> 116 <li role="treeitem"> 117 beef 118 </li> 119 </ul> 120 121 <div id="manualMode"></div> 122 <div id="log"></div> 123 <div id="ATTAmessages"></div> 124 </body> 125 </html>