menuitemcheckbox_readonly_unspecified-manual.html (3156B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>menuitemcheckbox readonly unspecified</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_CHECK_MENU_ITEM" 25 ], 26 [ 27 "property", 28 "states", 29 "doesNotContain", 30 "STATE_READ_ONLY" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "property", 36 "AXRole", 37 "is", 38 "AXMenuItem" 39 ], 40 [ 41 "property", 42 "AXSubrole", 43 "is", 44 "<nil>" 45 ], 46 [ 47 "property", 48 "AXRoleDescription", 49 "is", 50 "menu item" 51 ], 52 [ 53 "result", 54 "AXUIElementIsAttributeSettable(AXValue)", 55 "is", 56 "true" 57 ] 58 ], 59 "IAccessible2" : [ 60 [ 61 "property", 62 "role", 63 "is", 64 "IA2_ROLE_CHECK_MENU_ITEM" 65 ], 66 [ 67 "property", 68 "states", 69 "contains", 70 "IA2_STATE_EDITABLE" 71 ] 72 ], 73 "MSAA" : [ 74 [ 75 "property", 76 "role", 77 "isAny", 78 "[ROLE_SYSTEM_CHECKBUTTON, ROLE_SYSTEM_MENUITEM]" 79 ] 80 ], 81 "UIA" : [ 82 [ 83 "property", 84 "ControlType", 85 "is", 86 "MenuItem" 87 ], 88 [ 89 "property", 90 "controlPatterns", 91 "contains", 92 "Toggle" 93 ], 94 [ 95 "property", 96 "Value.IsReadOnly", 97 "is", 98 "false" 99 ] 100 ] 101 }, 102 "title" : "step 1", 103 "type" : "test" 104 } 105 ], 106 "title" : "menuitemcheckbox readonly unspecified" 107 } 108 109 ) ; 110 </script> 111 </head> 112 <body> 113 <p>This test examines the ARIA properties for menuitemcheckbox readonly unspecified.</p> 114 <div role="menu"> 115 <div role="menuitemcheckbox" id="test">option 1</div> 116 </div> 117 118 <div id="manualMode"></div> 119 <div id="log"></div> 120 <div id="ATTAmessages"></div> 121 </body> 122 </html>