name_file-label-owned-combobox-owned-listbox-manual.html (2222B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>Name file-label-owned-combobox-owned-listbox</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 "name", 23 "is", 24 "Flash the screen 2 times." 25 ] 26 ], 27 "AXAPI" : [ 28 [ 29 "property", 30 "AXDescription", 31 "is", 32 "Flash the screen 2 times." 33 ] 34 ], 35 "IAccessible2" : [ 36 [ 37 "property", 38 "accName", 39 "is", 40 "Flash the screen 2 times." 41 ] 42 ], 43 "UIA" : [ 44 [ 45 "property", 46 "Name", 47 "is", 48 "Flash the screen 2 times." 49 ] 50 ] 51 }, 52 "title" : "step 1", 53 "type" : "test" 54 } 55 ], 56 "title" : "Name file-label-owned-combobox-owned-listbox" 57 } 58 59 ) ; 60 </script> 61 </head> 62 <body> 63 <p>This test examines the ARIA properties for Name file-label-owned-combobox-owned-listbox.</p> 64 <input type="file" id="test" /> 65 <label for="test">Flash <span aria-owns="id1">the screen</span> times.</label> 66 <div> 67 <div id="id1" role="combobox" aria-owns="id2"> 68 <div role="textbox"></div> 69 </div> 70 </div> 71 <div> 72 <ul id="id2" role="listbox" style="list-style-type: none;"> 73 <li role="option" >1 </li> 74 <li role="option" aria-selected="true">2 </li> 75 <li role="option">3 </li> 76 </ul> 77 </div> 78 79 <div id="manualMode"></div> 80 <div id="log"></div> 81 <div id="ATTAmessages"></div> 82 </body> 83 </html>