spinbutton-manual.html (2340B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>spinbutton</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_SPIN_BUTTON" 25 ], 26 [ 27 "property", 28 "interfaces", 29 "contains", 30 "Value" 31 ] 32 ], 33 "AXAPI" : [ 34 [ 35 "property", 36 "AXRole", 37 "is", 38 "AXIncrementor" 39 ], 40 [ 41 "property", 42 "AXSubrole", 43 "is", 44 "<nil>" 45 ] 46 ], 47 "IAccessible2" : [ 48 [ 49 "property", 50 "interfaces", 51 "contains", 52 "IAccessibleValue" 53 ] 54 ], 55 "MSAA" : [ 56 [ 57 "property", 58 "role", 59 "is", 60 "ROLE_SYSTEM_SPINBUTTON" 61 ] 62 ], 63 "UIA" : [ 64 [ 65 "property", 66 "ControlType", 67 "is", 68 "Spinner" 69 ], 70 [ 71 "property", 72 "Control Pattern", 73 "is", 74 "RangeValue" 75 ] 76 ] 77 }, 78 "title" : "step 1", 79 "type" : "test" 80 } 81 ], 82 "title" : "spinbutton" 83 } 84 85 ) ; 86 </script> 87 </head> 88 <body> 89 <p>This test examines the ARIA properties for spinbutton.</p> 90 <div role='spinbutton' id='test'>10</div> 91 92 <div id="manualMode"></div> 93 <div id="log"></div> 94 <div id="ATTAmessages"></div> 95 </body> 96 </html>