703.html (996B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>ARIA 1.0 Test Case 703</title> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 </head> 7 <body> 8 <h1>ARIA 1.0 Test Case 703</h1> 9 10 <div id="TESTZ" aria-live="polite"> 11 Text before: <span id="TEST_ID_1">TEST TEXT</span> :text after 12 </div> 13 14 <h2>Description</h2> 15 <p>An element with an aria-live attribute is defined in markup with the value="polite" 16 has a child DOM element node that contains text content. After the onload event 17 completes the CSS 'visibility' property of the child DOM element node is changed 18 to visibility="hidden".</p> 19 20 <script> 21 22 function hideElement() { 23 var node = document.getElementById('TEST_ID_1'); 24 node.setAttribute('style', 'visibility: hidden'); 25 } 26 27 function onload() { 28 setTimeout(hideElement,1000); 29 } 30 31 window.addEventListener('load', onload); 32 </script> 33 </body> 34 35 </html>