menuitemcheckbox_expanded_true-manual.html (2158B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>aria-expanded=true on a menuitemcheckbox</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 "states", 23 "contains", 24 "STATE_EXPANDABLE" 25 ], 26 [ 27 "property", 28 "states", 29 "contains", 30 "STATE_EXPANDED" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "property", 36 "AXExpanded", 37 "is", 38 "YES" 39 ] 40 ], 41 "MSAA" : [ 42 [ 43 "property", 44 "states", 45 "contains", 46 "STATE_SYSTEM_EXPANDED" 47 ] 48 ], 49 "UIA" : [ 50 [ 51 "property", 52 "ExpandCollapse.ExpandCollapseState", 53 "is", 54 "Expanded" 55 ] 56 ] 57 }, 58 "title" : "step 1", 59 "type" : "test" 60 } 61 ], 62 "title" : "aria-expanded=true" 63 } 64 65 ) ; 66 </script> 67 </head> 68 <body> 69 <p>This test examines the ARIA properties for aria-expanded=true on a menuitemcheckbox.</p> 70 <div role='menu'> 71 <div role='menuitemcheckbox' id='test' aria-expanded='true'>item 1</div> 72 <div role='menu'> 73 <div role='menuitem'>subitem 1</div> 74 <div role='menuitem'>subitem 2</div> 75 </div> 76 <div role='menuitem'>item 2</div> 77 </div> 78 <div id="manualMode"></div> 79 <div id="log"></div> 80 <div id="ATTAmessages"></div> 81 </body> 82 </html>