--- a/ARIA-UAIG/1.0/tests/test-files/test35.html Wed Sep 11 17:43:51 2013 -0500
+++ b/ARIA-UAIG/1.0/tests/test-files/test35.html Wed Sep 11 17:59:15 2013 -0500
@@ -4,11 +4,13 @@
<title>div element with role="menu" and tabindex=0 and aria-activedescendant referencing a descendant div element with role=menuitem, and script that removes aria-activedescendant from the menu</title>
<script type="text/javascript"><!--
function removeActivedescendant(evt) {
- document.getElementById("test").removeAttribute("aria-activedescendant");
+ var test = document.getElementById("test");
+ test.focus();
+ test.document.removeAttribute("aria-activedescendant");
var reporter = document.getElementById("report");
reporter.appendChild(reporter.ownerDocument.createTextNode("Script has removed active descendant."));
}
- window.addEventListener("load", removeActivedescendant, false);
+ window.setTimeout(removeActivedescendant, 3000);
//--></script>
</head>
<body>
@@ -19,4 +21,4 @@
</div>
<p id="report"></p>
</body>
-</html>
\ No newline at end of file
+</html>