UAIG tests 42 - 54
authorMichael Cooper <cooper@w3.org>
Tue, 10 Sep 2013 11:14:05 -0400
changeset 346 08b021bd70c4
parent 345 2d73fba60f41
child 347 51efdf12e9b7
UAIG tests 42 - 54
ARIA-UAIG/1.0/tests/test-files/test42.html
ARIA-UAIG/1.0/tests/test-files/test43.html
ARIA-UAIG/1.0/tests/test-files/test44.html
ARIA-UAIG/1.0/tests/test-files/test45.html
ARIA-UAIG/1.0/tests/test-files/test46.html
ARIA-UAIG/1.0/tests/test-files/test47.html
ARIA-UAIG/1.0/tests/test-files/test48.html
ARIA-UAIG/1.0/tests/test-files/test49.html
ARIA-UAIG/1.0/tests/test-files/test50.html
ARIA-UAIG/1.0/tests/test-files/test51.html
ARIA-UAIG/1.0/tests/test-files/test52.html
ARIA-UAIG/1.0/tests/test-files/test53.html
ARIA-UAIG/1.0/tests/test-files/test54.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test42.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,9 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>a element href attribute</title>
+	</head>
+	<body>
+		<p><a href="http://example.com" id="test">Test element</a></p>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test43.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,9 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>Span element with tabindex=0</title>
+	</head>
+	<body>
+		<p><span tabindex="0" id="test">Test element</span></p>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test44.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>Div element with role=menuitem referenced by aria-activedescendant of ancestor div with role=menu</title>
+	</head>
+	<body>
+		<div tabindex="0" role="menu" aria-activedescendant="test">
+			<div id="item1" role="menuitem">Item 1</div>
+			<div id="test" role="menuitem">Focused Item 2</div>
+			<div id="item3" role="menuitem">Item 3</div>
+		</div>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test45.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>input with type=text and role=spinbutton</title>
+	</head>
+	<body>
+		<form action=".">
+			<p><label for="test">Test element: </label><input id="test" type="text" role="spinbutton" /></p>			
+		</form>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test46.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>input with type=checkbox and role=spinbutton</title>
+	</head>
+	<body>
+		<form action=".">
+			<p><input id="test" type="checkbox" role="spinbutton" /><label for="test">Test element</label></p>			
+		</form>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test47.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>input with type=checkbox but checked attribute not set and aria-checked=true</title>
+	</head>
+	<body>
+		<form action=".">
+			<p><input id="test" type="checkbox" aria-checked="true" /><label for="test">Test element</label></p>			
+		</form>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test48.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>div element with role="grid checkbox"</title>
+	</head>
+	<body>
+		<div id="test" role="grid checkbox">
+			<div role="row">
+				<div role="gridcell">Test element (outermost ancestor div)</div>
+			</div>
+		</div>			
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test49.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,9 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>div element with role="foobar checkbox"</title>
+	</head>
+	<body>
+		<div id="test" role="foobar checkbox">Test element</div>			
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test50.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,9 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>div element with role="checkbox foobar"</title>
+	</head>
+	<body>
+		<div id="test" role="checkbox foobar">Test element</div>			
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test51.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>table element with role="foo"</title>
+	</head>
+	<body>
+		<table id="test" role="foo">
+			<tr>
+				<td>Test element (ancestor table)</td>
+			</tr>
+		</table>			
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test52.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,12 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>input type="checkbox" aria-labelledby referencing a div</title>
+	</head>
+	<body>
+		<form action=".">
+			<div id="testlabel">Test element: </div>
+			<p><input id="test" type="checkbox" aria-labelledby="testlabel" /></p>			
+		</form>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test53.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>Input type="text" with role="bar"</title>
+	</head>
+	<body>
+		<form action=".">
+			<p><label for="test">Test element: </label><input id="test" type="text" role="bar" /></p>			
+		</form>
+	</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA-UAIG/1.0/tests/test-files/test54.html	Tue Sep 10 11:14:05 2013 -0400
@@ -0,0 +1,9 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+	<head>
+		<title>img with src and role=presentation and tabindex=-1</title>
+	</head>
+	<body>
+		<p><img src="http://example.com/img.png" tabindex="-1" role="presentation" id="test" alt="Test Element" /></p>
+	</body>
+</html>
\ No newline at end of file