graphics-document_on_html_element-manual.html (2667B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>graphics-document on HTML element</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_DOCUMENT_FRAME" 25 ], 26 [ 27 "property", 28 "objectAttributes", 29 "contains", 30 "xml-roles:graphics-document" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "property", 36 "AXRole", 37 "is", 38 "AXGroup" 39 ], 40 [ 41 "property", 42 "AXSubrole", 43 "is", 44 "AXDocument" 45 ], 46 [ 47 "property", 48 "AXRoleDescription", 49 "is", 50 "document" 51 ] 52 ], 53 "IAccessible2" : [ 54 [ 55 "property", 56 "role", 57 "is", 58 "ROLE_SYSTEM_DOCUMENT" 59 ], 60 [ 61 "property", 62 "objectAttributes", 63 "contains", 64 "xml-roles:graphics-document" 65 ], 66 [ 67 "property", 68 "states", 69 "contains", 70 "STATE_SYSTEM_READONLY" 71 ] 72 ], 73 "UIA" : [ 74 [ 75 "property", 76 "ControlType", 77 "is", 78 "Document" 79 ] 80 ] 81 }, 82 "title" : "step 1", 83 "type" : "test" 84 } 85 ], 86 "title" : "graphics-document on HTML element" 87 } 88 89 ) ; 90 </script> 91 </head> 92 <body> 93 <p>This test examines the ARIA properties for graphics-document on HTML element.</p> 94 <div id="test" role="graphics-document" aria-label="house"> 95 <div role="graphics-object" aria-label="door"></div> 96 </div> 97 98 <div id="manualMode"></div> 99 <div id="log"></div> 100 <div id="ATTAmessages"></div> 101 </body> 102 </html>