aria-describedby-manual.html (2692B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>aria-describedby</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 "description", 23 "is", 24 "hello world" 25 ], 26 [ 27 "relation", 28 "RELATION_DESCRIBED_BY", 29 "is", 30 "[description]" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "api", 36 "accessibilityCustomContent", 37 "is", 38 "['label': 'hello world']" 39 ] 40 ], 41 "IAccessible2" : [ 42 [ 43 "property", 44 "accDescription", 45 "is", 46 "hello world" 47 ], 48 [ 49 "relation", 50 "IA2_RELATION_DESCRIBED_BY", 51 "is", 52 "[description]" 53 ] 54 ], 55 "UIA" : [ 56 [ 57 "property", 58 "FullDescription", 59 "is", 60 "hello world" 61 ] 62 ] 63 }, 64 "title" : "step 1", 65 "type" : "test" 66 }, 67 { 68 "element" : "description", 69 "test" : { 70 "ATK" : [ 71 [ 72 "relation", 73 "RELATION_DESCRIPTION_FOR", 74 "is", 75 "[test]" 76 ] 77 ], 78 "IAccessible2" : [ 79 [ 80 "relation", 81 "IA2_RELATION_DESCRIPTION_FOR", 82 "is", 83 "[test]" 84 ] 85 ] 86 }, 87 "title" : "step 2", 88 "type" : "test" 89 } 90 ], 91 "title" : "aria-describedby" 92 } 93 94 ) ; 95 </script> 96 </head> 97 <body> 98 <p>This test examines the ARIA properties for aria-describedby.</p> 99 <div role='group' id='test' aria-describedby='description'>content</div> 100 <div id='description'>hello world</div> 101 102 <div id="manualMode"></div> 103 <div id="log"></div> 104 <div id="ATTAmessages"></div> 105 </body> 106 </html>