tor-browser

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

673.html (885B)


      1 <!DOCTYPE html> 
      2 <html>
      3  <head>
      4    <title>ARIA 1.0 Test Case 673</title>
      5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6  </head>
      7  <body>
      8    <h1>ARIA 1.0 Test Case 673</h1>
      9    
     10    <div id="TEST_ID" aria-live="polite" >
     11    </div>
     12    
     13    <h2>Description</h2>
     14    <p>An element with an aria-live attribute is defined in markup with the value="polite". 
     15      After the onload event completes a child DOM text node is added to the element with 
     16      the aria-live attribute.</p>
     17    
     18    <script>  
     19  
     20     function addTextNode() {
     21       var node = document.getElementById('TEST_ID');  
     22       var text_node = document.createTextNode('TEST TEXT');
     23       node.appendChild(text_node);
     24     }
     25     
     26     function onload() {
     27       setTimeout(addTextNode,1000);
     28     }
     29     
     30     window.addEventListener('load', onload);
     31    </script>
     32  </body>
     33  
     34 </html>