heading-no-level-manual.html (1899B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>heading with no author-provided level</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 "objectAttributes", 23 "contains", 24 "level:2" 25 ] 26 ], 27 "AXAPI" : [ 28 [ 29 "property", 30 "AXValue", 31 "is", 32 "2" 33 ] 34 ], 35 "IAccessible2" : [ 36 [ 37 "property", 38 "objectAttributes", 39 "contains", 40 "level:2" 41 ] 42 ], 43 "UIA" : [ 44 [ 45 "property", 46 "AriaProperties.level", 47 "is", 48 "2" 49 ], 50 [ 51 "property", 52 "StyleId_Heading", 53 "is", 54 "2" 55 ] 56 ] 57 }, 58 "title" : "step 1", 59 "type" : "test" 60 } 61 ], 62 "title" : "heading" 63 } 64 65 ) ; 66 </script> 67 </head> 68 <body> 69 <p>This test examines the ARIA properties for aria-level on heading with no author-provided level.</p> 70 <div role='heading' id='test'>content</div> 71 <div id="manualMode"></div> 72 <div id="log"></div> 73 <div id="ATTAmessages"></div> 74 </body> 75 </html>