region_with_name-manual.html (2872B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>region with name</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_LANDMARK" 25 ], 26 [ 27 "property", 28 "objectAttributes", 29 "contains", 30 "xml-roles:region" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "property", 36 "AXRole", 37 "is", 38 "AXGroup" 39 ], 40 [ 41 "property", 42 "AXSubrole", 43 "is", 44 "AXLandmarkRegion" 45 ], 46 [ 47 "property", 48 "AXRoleDescription", 49 "is", 50 "region" 51 ] 52 ], 53 "IAccessible2" : [ 54 [ 55 "property", 56 "objectAttributes", 57 "contains", 58 "xml-roles:region" 59 ], 60 [ 61 "property", 62 "role", 63 "is", 64 "IA2_ROLE_LANDMARK" 65 ] 66 ], 67 "UIA" : [ 68 [ 69 "property", 70 "Control Group", 71 "is", 72 "Group" 73 ], 74 [ 75 "property", 76 "localizedControlType", 77 "is", 78 "region" 79 ], 80 [ 81 "property", 82 "landmarkType", 83 "is", 84 "Custom" 85 ], 86 [ 87 "property", 88 "localizedLandmarkType", 89 "is", 90 "region" 91 ] 92 ] 93 }, 94 "title" : "step 1", 95 "type" : "test" 96 } 97 ], 98 "title" : "region with name" 99 } 100 101 ) ; 102 </script> 103 </head> 104 <body> 105 <p>This test examines the ARIA properties for region with name.</p> 106 <section role="region" aria-label="foobar" id="test"> 107 <article>This is article 1</article> 108 </section> 109 110 <div id="manualMode"></div> 111 <div id="log"></div> 112 <div id="ATTAmessages"></div> 113 </body> 114 </html>