slider_only_valuenow_unspecified-manual.html (4543B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>slider only valuenow 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_SLIDER" 25 ], 26 [ 27 "property", 28 "interfaces", 29 "contains", 30 "Value" 31 ], 32 [ 33 "result", 34 "atk_value_get_minimum_value()", 35 "is", 36 "0" 37 ], 38 [ 39 "result", 40 "atk_value_get_current_value()", 41 "is", 42 "20" 43 ], 44 [ 45 "result", 46 "atk_value_get_maximum_value()", 47 "is", 48 "40" 49 ] 50 ], 51 "AXAPI" : [ 52 [ 53 "property", 54 "AXRole", 55 "is", 56 "AXSlider" 57 ], 58 [ 59 "property", 60 "AXSubrole", 61 "is", 62 "<nil>" 63 ], 64 [ 65 "property", 66 "AXRoleDescription", 67 "is", 68 "slider" 69 ], 70 [ 71 "property", 72 "AXMinValue", 73 "is", 74 "0" 75 ], 76 [ 77 "property", 78 "AXValue", 79 "is", 80 "20" 81 ], 82 [ 83 "property", 84 "AXMaxValue", 85 "is", 86 "40" 87 ] 88 ], 89 "IAccessible2" : [ 90 [ 91 "property", 92 "role", 93 "is", 94 "ROLE_SYSTEM_SLIDER" 95 ], 96 [ 97 "property", 98 "interfaces", 99 "contains", 100 "AccessibleValue" 101 ], 102 [ 103 "property", 104 "minimumValue", 105 "is", 106 "0" 107 ], 108 [ 109 "property", 110 "currentValue", 111 "is", 112 "20" 113 ], 114 [ 115 "property", 116 "maximumValue", 117 "is", 118 "40" 119 ] 120 ], 121 "MSAA" : [ 122 [ 123 "property", 124 "role", 125 "is", 126 "ROLE_SYSTEM_SLIDER" 127 ] 128 ], 129 "UIA" : [ 130 [ 131 "property", 132 "ControlType", 133 "is", 134 "Slider" 135 ], 136 [ 137 "property", 138 "controlPatterns", 139 "contains", 140 "RangeValue" 141 ], 142 [ 143 "result", 144 "RangeValue.Minimum", 145 "is", 146 "0" 147 ], 148 [ 149 "result", 150 "RangeValue.Value", 151 "is", 152 "20" 153 ], 154 [ 155 "result", 156 "RangeValue.Maximum", 157 "is", 158 "40" 159 ] 160 ] 161 }, 162 "title" : "step 1", 163 "type" : "test" 164 } 165 ], 166 "title" : "slider only valuenow unspecified" 167 } 168 169 ) ; 170 </script> 171 </head> 172 <body> 173 <p>This test examines the ARIA properties for slider only valuenow unspecified.</p> 174 <div role="slider" aria-valuemin="0" aria-valuemax="40" id="test"> 175 Go Fish 176 </div> 177 178 <div id="manualMode"></div> 179 <div id="log"></div> 180 <div id="ATTAmessages"></div> 181 </body> 182 </html>