doc-cover-manual.html (2275B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>doc-cover</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_IMAGE" 24 ], 25 [ 26 "property", 27 "objectAttributes", 28 "contains", 29 "xml-roles:doc-cover" 30 ] 31 ], 32 "AXAPI" : [ 33 [ 34 "property", 35 "AXRole", 36 "is", 37 "AXImage" 38 ], 39 [ 40 "property", 41 "AXSubrole", 42 "is", 43 "<nil>" 44 ], 45 [ 46 "property", 47 "AXRoleDescription", 48 "is", 49 "image" 50 ] 51 ], 52 "IAccessible2" : [ 53 [ 54 "property", 55 "objectAttributes", 56 "contains", 57 "xml-roles:doc-cover" 58 ] 59 ], 60 "MSAA" : [ 61 [ 62 "property", 63 "role", 64 "is", 65 "ROLE_SYSTEM_GRAPHIC" 66 ] 67 ], 68 "UIA" : [ 69 [ 70 "property", 71 "ControlType", 72 "is", 73 "Image" 74 ] 75 ] 76 }, 77 "title" : "step 1", 78 "type" : "test" 79 } 80 ], 81 "title" : "doc-cover" 82 } 83 84 ) ; 85 </script> 86 </head> 87 <body> 88 <p>This test examines the ARIA properties for doc-cover.</p> 89 <div role="doc-cover" id="test">Text</div> 90 91 <div id="manualMode"></div> 92 <div id="log"></div> 93 <div id="ATTAmessages"></div> 94 </body> 95 </html>