tor-browser

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

legend-focusable.html (503B)


      1 <!doctype html>
      2 <title>legend focusable</title>
      3 <script src=/resources/testharness.js></script>
      4 <script src=/resources/testharnessreport.js></script>
      5 <script>
      6 const t = async_test();
      7 </script>
      8 <fieldset>
      9 <legend tabindex=0 onfocus="t.step(() => { t.done(); })">
     10  legend
     11  <input onfocus="t.unreached_func('input in legend was focused')();">
     12 </legend>
     13 <input onfocus="t.unreached_func('input after legend was focused')();">
     14 </fieldset>
     15 <script>
     16  document.querySelector('legend').focus();
     17 </script>