Test menu item had multiple ids; removed "id='test'". Also, added onload scrit to place DOM focus (document.activeElement) on the parent test menu.
authorJoseph Scheuhammer <clown@alum.mit.edu>
Mon, 04 Nov 2013 14:01:56 -0500
changeset 406 dc2b72b3158c
parent 405 2e4cc69c02dc
child 407 6888a88415ed
Test menu item had multiple ids; removed "id='test'". Also, added onload scrit to place DOM focus (document.activeElement) on the parent test menu.
ARIA-UAIG/1.0/tests/test-files/test37.html
--- a/ARIA-UAIG/1.0/tests/test-files/test37.html	Tue Oct 29 23:52:00 2013 -0700
+++ b/ARIA-UAIG/1.0/tests/test-files/test37.html	Mon Nov 04 14:01:56 2013 -0500
@@ -3,10 +3,10 @@
 	<head>
 		<title>div element with role="menuitem" whose ID is referenced by the aria-activedescendant of an ancestor div element with role="menu"</title>
 	</head>
-	<body>
-		<div tabindex="0" role="menu" aria-activedescendant="item2">
+	<body onload="document.getElementById('testMenu').focus();">
+		<div id="testMenu" tabindex="0" role="menu" aria-activedescendant="item2">
 			<div id="item1" role="menuitem">Item 1</div>
-			<div id="test" id="item2" role="menuitem">Focused Item 2</div>
+			<div id="item2" role="menuitem">Focused Item 2</div>
 			<div id="item3" role="menuitem">Item 3</div>
 		</div>
 	</body>