first-input-before-legend-manual.html (471B)
1 <!doctype html> 2 <title>First input before the legend</title> 3 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharnessreport.js></script> 5 <script src=../common/accesskey.js></script> 6 <p>Press the access key combination for "a". <kbd></kbd></p> 7 <fieldset> 8 <input onfocus="pass()"> 9 <legend accesskey=a>legend 10 <input onfocus="fail('input in legend was focused')"> 11 </legend> 12 <input onfocus="fail('input after legend was focused')"> 13 </fieldset>