tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

input-outside-fieldset-manual.html (468B)


      1 <!doctype html>
      2 <title>Input outside fieldset</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 <legend accesskey=a>legend</legend>
      9 </fieldset>
     10 <input onfocus="fail('input outside fieldset was focused')">
     11 <script>
     12 onkeyup = e => {
     13   if (e.keyCode === 65) {
     14     pass();
     15   }
     16 }
     17 </script>