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