doc-index-manual.html (2723B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>doc-index</title> 5 <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="/wai-aria/scripts/ATTAcomm.js"></script> 9 <script> 10 setup({explicit_timeout: true, explicit_done: true }); 11 12 var theTest = new ATTAcomm( 13 { 14 "steps" : [ 15 { 16 "element" : "test", 17 "test" : { 18 "ATK" : [ 19 [ 20 "property", 21 "role", 22 "is", 23 "ROLE_LANDMARK" 24 ], 25 [ 26 "property", 27 "objectAttributes", 28 "contains", 29 "xml-roles:doc-index" 30 ] 31 ], 32 "AXAPI" : [ 33 [ 34 "property", 35 "AXRole", 36 "is", 37 "AXGroup" 38 ], 39 [ 40 "property", 41 "AXSubrole", 42 "is", 43 "AXLandmarkNavigation" 44 ], 45 [ 46 "property", 47 "AXRoleDescription", 48 "is", 49 "navigation" 50 ] 51 ], 52 "IAccessible2" : [ 53 [ 54 "property", 55 "objectAttributes", 56 "contains", 57 "xml-roles:doc-index" 58 ], 59 [ 60 "property", 61 "role", 62 "is", 63 "IA2_ROLE_LANDMARK" 64 ] 65 ], 66 "UIA" : [ 67 [ 68 "property", 69 "ControlType", 70 "is", 71 "Text" 72 ], 73 [ 74 "property", 75 "LocalizedControlType", 76 "is", 77 "index" 78 ], 79 [ 80 "property", 81 "landmarkType", 82 "is", 83 "Custom" 84 ], 85 [ 86 "property", 87 "LocalizedLandmarkType", 88 "is", 89 "index" 90 ] 91 ] 92 }, 93 "title" : "step 1", 94 "type" : "test" 95 } 96 ], 97 "title" : "doc-index" 98 } 99 100 ) ; 101 </script> 102 </head> 103 <body> 104 <p>This test examines the ARIA properties for doc-index.</p> 105 <div role="doc-index" id="test">Text</div> 106 107 <div id="manualMode"></div> 108 <div id="log"></div> 109 <div id="ATTAmessages"></div> 110 </body> 111 </html>