fixing embedded spinbutton tests
authorJames Craig <jcraig@apple.com>
Tue, 30 Oct 2012 16:50:23 +0100
changeset 33 8984e3bc00cc
parent 32 d2e156c792b4
child 34 23d133c7fcd2
fixing embedded spinbutton tests
ARIA/1.0/tests/test-files/accessible-name-input/checkbox-label-embedded-spinbutton.html
ARIA/1.0/tests/test-files/accessible-name-input/file-label-embedded-spinbutton.html
ARIA/1.0/tests/test-files/accessible-name-input/password-label-embedded-spinbutton.html
ARIA/1.0/tests/test-files/accessible-name-input/radio-label-embedded-spinbutton.html
ARIA/1.0/tests/test-files/accessible-name-input/text-label-embedded-spinbutton.html
--- a/ARIA/1.0/tests/test-files/accessible-name-input/checkbox-label-embedded-spinbutton.html	Tue Oct 30 16:45:07 2012 +0100
+++ b/ARIA/1.0/tests/test-files/accessible-name-input/checkbox-label-embedded-spinbutton.html	Tue Oct 30 16:50:23 2012 +0100
@@ -7,7 +7,7 @@
    <body>
    	<input type="checkbox" id="test" />
    	<label for="test">Flash the screen 
-   		<label for="test">foo <input role="spinbutton" type="text" value="5" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
+   		<label for="test">foo <input role="spinbutton" type="number" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
    		times.
    	</label>
    </body>
--- a/ARIA/1.0/tests/test-files/accessible-name-input/file-label-embedded-spinbutton.html	Tue Oct 30 16:45:07 2012 +0100
+++ b/ARIA/1.0/tests/test-files/accessible-name-input/file-label-embedded-spinbutton.html	Tue Oct 30 16:50:23 2012 +0100
@@ -7,7 +7,7 @@
    <body>
    	<input type="file" id="test" />
    	<label for="test">Flash the screen 
-   		<label for="test">foo <input role="spinbutton" type="text" value="5" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
+   		<label for="test">foo <input role="spinbutton" type="number" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
    		times.
    	</label>
    </body>
--- a/ARIA/1.0/tests/test-files/accessible-name-input/password-label-embedded-spinbutton.html	Tue Oct 30 16:45:07 2012 +0100
+++ b/ARIA/1.0/tests/test-files/accessible-name-input/password-label-embedded-spinbutton.html	Tue Oct 30 16:50:23 2012 +0100
@@ -7,7 +7,7 @@
    <body>
    	<input type="password" id="test" />
    	<label for="test">Flash the screen 
-   		<label for="test">foo <input role="spinbutton" type="text" value="5" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
+   		<label for="test">foo <input role="spinbutton" type="number" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
    		times.
    	</label>
    </body>
--- a/ARIA/1.0/tests/test-files/accessible-name-input/radio-label-embedded-spinbutton.html	Tue Oct 30 16:45:07 2012 +0100
+++ b/ARIA/1.0/tests/test-files/accessible-name-input/radio-label-embedded-spinbutton.html	Tue Oct 30 16:50:23 2012 +0100
@@ -7,7 +7,7 @@
    <body>
    	<input type="radio" id="test" />
    	<label for="test">Flash the screen 
-   		<label for="test">foo <input role="spinbutton" type="text" value="5" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
+   		<label for="test">foo <input role="spinbutton"  type="number" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
    		times.
    	</label>
    </body>
--- a/ARIA/1.0/tests/test-files/accessible-name-input/text-label-embedded-spinbutton.html	Tue Oct 30 16:45:07 2012 +0100
+++ b/ARIA/1.0/tests/test-files/accessible-name-input/text-label-embedded-spinbutton.html	Tue Oct 30 16:50:23 2012 +0100
@@ -7,7 +7,7 @@
    <body>
    	<input type="text" id="test" />
    	<label for="test">Flash the screen 
-   		<label for="test">foo <input role="spinbutton" type="text" value="5" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
+   		<label for="test">foo <input role="spinbutton" type="number" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz</label>
    		times.
    	</label>
    </body>