--- a/ARIA-UAIG/1.0/tests/test-files/test35.html Wed Sep 11 18:02:10 2013 -0500
+++ b/ARIA-UAIG/1.0/tests/test-files/test35.html Wed Sep 11 18:09:33 2013 -0500
@@ -3,14 +3,14 @@
<head>
<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) {
+ function removeActivedescendant() {
var test = document.getElementById("test");
test.focus();
test.removeAttribute("aria-activedescendant");
var reporter = document.getElementById("report");
reporter.appendChild(reporter.ownerDocument.createTextNode("Script has removed active descendant."));
}
- window.setTimeout(removeActivedescendant, 3000);
+ // window.setTimeout(removeActivedescendant, 3000);
//--></script>
</head>
<body>
@@ -19,6 +19,7 @@
<div id="item2" role="menuitem">Focused Item 2</div>
<div id="item3" role="menuitem">Item 3</div>
</div>
+ <input type="button" value="push me to remove the active descendant" onclick="removeActiveDescendant()">
<p id="report"></p>
</body>
</html>