doc-backlink-manual.html (3155B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>doc-backlink</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_LINK" 24 ], 25 [ 26 "property", 27 "objectAttributes", 28 "contains", 29 "xml-roles:doc-backlink" 30 ] 31 ], 32 "AXAPI" : [ 33 [ 34 "property", 35 "AXRole", 36 "is", 37 "AXLink" 38 ], 39 [ 40 "property", 41 "AXSubrole", 42 "is", 43 "<nil>" 44 ], 45 [ 46 "property", 47 "AXRoleDescription", 48 "is", 49 "link" 50 ] 51 ], 52 "IAccessible2" : [ 53 [ 54 "property", 55 "objectAttributes", 56 "contains", 57 "xml-roles:doc-backlink" 58 ], 59 [ 60 "property", 61 "interfaces", 62 "contains", 63 "IAccessibleHypertext2" 64 ] 65 ], 66 "MSAA" : [ 67 [ 68 "property", 69 "role", 70 "is", 71 "ROLE_SYSTEM_LINK" 72 ], 73 [ 74 "property", 75 "states", 76 "contains", 77 "STATE_LINKED" 78 ] 79 ], 80 "UIA" : [ 81 [ 82 "property", 83 "ControlType", 84 "is", 85 "Text" 86 ], 87 [ 88 "property", 89 "LocalizedControlType", 90 "is", 91 "backlink" 92 ] 93 ] 94 }, 95 "title" : "step 1", 96 "type" : "test" 97 }, 98 { 99 "element" : "child", 100 "test" : { 101 "MSAA" : [ 102 [ 103 "property", 104 "states", 105 "contains", 106 "STATE_LINKED" 107 ] 108 ], 109 "UIA" : [] 110 }, 111 "title" : "step 2", 112 "type" : "test" 113 } 114 ], 115 "title" : "doc-backlink" 116 } 117 118 ) ; 119 </script> 120 </head> 121 <body> 122 <p>This test examines the ARIA properties for doc-backlink.</p> 123 <div role="doc-backlink" id="test"> 124 <div id="child">child 1</div> 125 </div> 126 127 <div id="manualMode"></div> 128 <div id="log"></div> 129 <div id="ATTAmessages"></div> 130 </body> 131 </html>