aria-checked_mixed-manual.html (2279B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>aria-checked=mixed</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_INDETERMINATE" 25 ], 26 [ 27 "property", 28 "states", 29 "contains", 30 "STATE_CHECKABLE" 31 ], 32 [ 33 "property", 34 "states", 35 "doesNotContain", 36 "STATE_CHECKED" 37 ] 38 ], 39 "AXAPI" : [ 40 [ 41 "property", 42 "AXValue", 43 "is", 44 "2" 45 ] 46 ], 47 "IAccessible2" : [ 48 [ 49 "property", 50 "objectAttributes", 51 "contains", 52 "checkable:true" 53 ] 54 ], 55 "MSAA" : [ 56 [ 57 "property", 58 "states", 59 "contains", 60 "STATE_SYSTEM_MIXED" 61 ] 62 ], 63 "UIA" : [ 64 [ 65 "property", 66 "Toggle.ToggleState", 67 "is", 68 "Indeterminate (2)" 69 ] 70 ] 71 }, 72 "title" : "step 1", 73 "type" : "test" 74 } 75 ], 76 "title" : "aria-checked=mixed" 77 } 78 79 ) ; 80 </script> 81 </head> 82 <body> 83 <p>This test examines the ARIA properties for aria-checked=mixed.</p> 84 <div role='checkbox' id='test' aria-checked='mixed'>content</div> 85 86 <div id="manualMode"></div> 87 <div id="log"></div> 88 <div id="ATTAmessages"></div> 89 </body> 90 </html>