--- a/ARIA-UAIG/1.0/tests/test-files/test96.html Tue Oct 29 13:08:24 2013 -0500
+++ b/ARIA-UAIG/1.0/tests/test-files/test96.html Tue Oct 29 17:04:30 2013 -0500
@@ -4,17 +4,21 @@
<title>div element with role="menubar" and child div with role="menuitem" with aria-haspop="true" and aria-owns with value referencing ID of a div outside the menubar whose role="menu" and style="display:block:" containing two divs with role="menuitem" and text contents, with onload script that sets style="display:none" on the internal menubar and sets focus on an element outside the menu</title>
<script type="text/javascript"><!--
function showMenu() {
+ document.getElementById("menu").style.display = "block";
+ }
+ function hideMenu() {
document.getElementById("menu").style.display = "none";
document.getElementById("newfocus").focus();
- }
- window.setTimeout(showMenu, 10000);
+ }
+ window.setTimeout(showMenu, 5000);
+ window.setTimeout(hideMenu, 10000);
--></script>
</head>
<body>
<div id="test" role="menubar">
<div role="menuitem" aria-haspopup="true" aria-owns="menu">Menu item with sub menu that will close 10 seconds after load</div>
</div>
- <div id="menu" role="menu" style="display:block">
+ <div id="menu" role="menu" style="display:none">
<div role="menuitem" id="item1" tabindex="0">Menu item 1</div>
<div role="menuitem" id="item2" tabindex="0">Menu item 2</div>
</div>