tor-browser

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

669.html (925B)


      1 <!DOCTYPE html> 
      2 <html>
      3  <head>
      4    <title>ARIA 1.0 Test Case 669</title>
      5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6  </head>
      7  <body>
      8    <h1>ARIA 1.0 Test Case 669</h1>
      9    
     10    <ul role="listbox" id="ID_LISTBOX" tabindex="0" aria-activedescendant="ID_OPTION_1">
     11      <li id="ID_OPTION_1" role="option">Option 1</li> 
     12      <li id="ID_OPTION_2" role="option">Option 2</li> 
     13    </ul>
     14    
     15    <h2>Description</h2>
     16    <p>An element with role "listbox" with two descendants having role "option" 
     17      and aria-activedescendant set to the id of the first option for which an 
     18      assistive technology or API test tool requests to move focus to option 2.</p>
     19    
     20    <script>  
     21      
     22     function setFocus() {
     23       var node = document.getElementById('ID_LISTBOX');  
     24       node.focus();
     25     }
     26     
     27     window.addEventListener('load', setFocus);
     28    </script>
     29  </body>
     30  
     31 </html>