table_rowcount_-1-manual.html (3127B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>table rowcount -1</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_TABLE" 25 ], 26 [ 27 "property", 28 "objectAttributes", 29 "contains", 30 "rowcount:-1" 31 ], 32 [ 33 "result", 34 "atk_table_get_n_rows()", 35 "is", 36 "-1" 37 ] 38 ], 39 "AXAPI" : [ 40 [ 41 "property", 42 "AXRole", 43 "is", 44 "AXTable" 45 ], 46 [ 47 "property", 48 "AXARIARowCount", 49 "contains", 50 "-1" 51 ] 52 ], 53 "IAccessible2" : [ 54 [ 55 "property", 56 "role", 57 "is", 58 "ROLE_SYSTEM_TABLE" 59 ], 60 [ 61 "property", 62 "interfaces", 63 "contains", 64 "IAccessibleTable2" 65 ], 66 [ 67 "property", 68 "objectAttributes", 69 "contains", 70 "xml-roles:table" 71 ], 72 [ 73 "property", 74 "objectAttributes", 75 "contains", 76 "rowcount:-1" 77 ] 78 ], 79 "MSAA" : [ 80 [ 81 "property", 82 "role", 83 "is", 84 "ROLE_SYSTEM_TABLE" 85 ] 86 ], 87 "UIA" : [ 88 [ 89 "property", 90 "ControlType", 91 "is", 92 "Table" 93 ], 94 [ 95 "property", 96 "Table.RowCount", 97 "is", 98 "-1" 99 ] 100 ] 101 }, 102 "title" : "step 1", 103 "type" : "test" 104 } 105 ], 106 "title" : "table rowcount -1" 107 } 108 109 ) ; 110 </script> 111 </head> 112 <body> 113 <p>This test examines the ARIA properties for table rowcount -1.</p> 114 <div role='table' id='test' aria-rowcount='-1' aria-colcount='2'> 115 <div role='row'> 116 <span role='cell'> 117 <button>hello</button> 118 </span> 119 </div> 120 </div> 121 122 <div id="manualMode"></div> 123 <div id="log"></div> 124 <div id="ATTAmessages"></div> 125 </body> 126 </html>