Test file for case 552: removed aria-label from the test element since the testable statement says there is none; and moved that text as the content of the LABEL element to match the expected outcome.
authorJoseph Scheuhammer <clown@alum.mit.edu>
Tue, 30 Oct 2012 13:22:53 -0400
changeset 36 200624a07fa2
parent 35 9d8e6412389d
child 37 7474e9334cd6
Test file for case 552: removed aria-label from the test element since the testable statement says there is none; and moved that text as the content of the LABEL element to match the expected outcome.
ARIA/1.0/tests/test-files/name-computation-input/552.html
--- a/ARIA/1.0/tests/test-files/name-computation-input/552.html	Tue Oct 30 17:37:17 2012 +0100
+++ b/ARIA/1.0/tests/test-files/name-computation-input/552.html	Tue Oct 30 13:22:53 2012 -0400
@@ -1,4 +1,5 @@
-<!DOCTYPE html>
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
 <title>Test 552  An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title>
@@ -6,13 +7,13 @@
 
 label:before
 {
-content:"fancy";
+content:"fancy ";
 }
 </style>
 </head>
 <body>
-<label for="test"></label>
-<input type="text" aria-label="fruit" id="test"/>
+<label for="test">fruit</label>
+<input type="text" id="test"/>
 </body>
 </html>