combobox-value-calculation-manual.html (2110B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>combobox value calculation</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 "objectAttributes", 23 "contains", 24 "valuetext:Apple" 25 ] 26 ], 27 "AXAPI" : [ 28 [ 29 "property", 30 "AXValue", 31 "is", 32 "Apple" 33 ] 34 ], 35 "IAccessible2" : [ 36 [ 37 "property", 38 "accValue", 39 "is", 40 "Apple" 41 ] 42 ], 43 "UIA" : [ 44 [ 45 "property", 46 "Value.Value", 47 "is", 48 "Apple" 49 ] 50 ] 51 }, 52 "title" : "step 1", 53 "type" : "test" 54 } 55 ], 56 "title" : "combobox" 57 } 58 59 ) ; 60 </script> 61 </head> 62 <body> 63 <p>This test examines the ARIA properties for a combobox whose value is computed.</p> 64 <div id="combo1-label">Choose a fruit, with text content</div> 65 <div aria-controls="listbox1" id="test" aria-expanded="false" aria-haspopup="listbox" aria-labelledby="combo1-label" role="combobox" tabindex="0">Apple</div> 66 <div role="listbox" id="listbox1"> 67 <div role="option" id="combo1-0" aria-selected="true">Apple</div> 68 <div role="option" id="combo1-1">Banana</div> 69 <div role="option" id="combo1-2">Cherry</div> 70 </div> 71 <div id="manualMode"></div> 72 <div id="log"></div> 73 <div id="ATTAmessages"></div> 74 </body> 75 </html>