diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/accname | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/accname')
174 files changed, 12169 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accname/META.yml b/testing/web-platform/tests/accname/META.yml new file mode 100644 index 0000000000..81588fba45 --- /dev/null +++ b/testing/web-platform/tests/accname/META.yml @@ -0,0 +1,7 @@ +spec: https://w3c.github.io/accname/ +suggested_reviewers: + - cookiecrook + - spectranaut + - jnurthen + - halindrome + - joanmarie diff --git a/testing/web-platform/tests/accname/basic.html b/testing/web-platform/tests/accname/basic.html new file mode 100644 index 0000000000..097123569d --- /dev/null +++ b/testing/web-platform/tests/accname/basic.html @@ -0,0 +1,22 @@ +<!doctype html> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/resources/testdriver.js"></script> +<script src="/resources/testdriver-vendor.js"></script> +<script src="/resources/testdriver-actions.js"></script> + +<div id='d' style='height: 100px; width: 100px' role="group" aria-label="test label"></div> +<h1 id="h">test heading</h1> +<script> + +promise_test(async t => { + const label = await test_driver.get_computed_label(document.getElementById('d')); + assert_equals(label, "test label"); +}, "tests labelFrom: author"); + +promise_test(async t => { + const label = await test_driver.get_computed_label(document.getElementById('h')); + assert_equals(label, "test heading"); +}, "tests labelFrom: contents"); + +</script> diff --git a/testing/web-platform/tests/accname/manual/description_1.0_combobox-focusable-manual.html b/testing/web-platform/tests/accname/manual/description_1.0_combobox-focusable-manual.html new file mode 100644 index 0000000000..c0d54d6c23 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_1.0_combobox-focusable-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Description 1.0 combobox-focusable</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description 1.0 combobox-focusable" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description 1.0 combobox-focusable.</p> + <div id="test" role="combobox" tabindex="0" title="Choose your language."> + <span> English </span> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_from_content_of_describedby_element-manual.html b/testing/web-platform/tests/accname/manual/description_from_content_of_describedby_element-manual.html new file mode 100644 index 0000000000..2911d1d031 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_from_content_of_describedby_element-manual.html @@ -0,0 +1,94 @@ +<!doctype html> +<html> + <head> + <title>Description from content of describedby element</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description from content of describedby element" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description from content of describedby element.</p> + <style> + .hidden { display: none; } + </style> + <input id="test" type="text" aria-label="Important stuff" aria-describedby="descId" /> + <div> + <div id="descId"> + <span aria-hidden="true"><i> Hello, </i></span> + <span>My</span> name is + <div><img src="file.jpg" title="Bryan" alt="" role="presentation" /></div> + <span role="presentation" aria-label="Eli"> + <span aria-label="Garaventa">Zambino</span> + </span> + <span>the weird.</span> + (QED) + <span class="hidden"><i><b>and don't you forget it.</b></i></span> + <table> + <tr> + <td>Where</td> + <td style="visibility:hidden;"><div>in</div></td> + <td><div style="display:none;">the world</div></td> + <td>are my marbles?</td> + </tr> + </table> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_link-with-label-manual.html b/testing/web-platform/tests/accname/manual/description_link-with-label-manual.html new file mode 100644 index 0000000000..09c32db1c2 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_link-with-label-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Description link-with-label</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "San Francisco" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "San Francisco" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "San Francisco" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "San Francisco" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description link-with-label" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description link-with-label.</p> + <a id="test" href="#" aria-label="California" title="San Francisco" >United States</a> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_557-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_557-manual.html new file mode 100644 index 0000000000..1294baf657 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_557-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Description test case 557</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "t" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "t" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "t" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "t" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 557" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 557.</p> + <img id="test" src="foo.jpg" aria-label="1" alt="a" title="t"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_664-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_664-manual.html new file mode 100644 index 0000000000..f4e813643c --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_664-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Description test case 664</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 664" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 664.</p> + <div> + <img id="test" aria-describedby="ID1" src="test.png"> + </div> + <div id="ID1">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_665-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_665-manual.html new file mode 100644 index 0000000000..e97a41de35 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_665-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Description test case 665</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 665" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 665.</p> + <div> + <img id="test" aria-describedby="ID1" src="test.png"> + </div> + <div id="ID1" style="display:none">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_666-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_666-manual.html new file mode 100644 index 0000000000..378979ca73 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_666-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Description test case 666</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 666" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 666.</p> + <div> + <img id="test" aria-describedby="ID1" src="test.png"> + </div> + <div id="ID1" role="presentation">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_772-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_772-manual.html new file mode 100644 index 0000000000..efc58686ce --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_772-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Description test case 772</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 772" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 772.</p> + <img src="foo.jpg" id="test" alt="test" aria-describedby="t1"> + <div id="t1">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_773-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_773-manual.html new file mode 100644 index 0000000000..ea004cffee --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_773-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Description test case 773</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 773" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 773.</p> + <img src="foo.jpg" id="test" alt="test" aria-describedby="t1"> + <div id="t1" style="display:none">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_774-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_774-manual.html new file mode 100644 index 0000000000..6fafc81be3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_774-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Description test case 774</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 774" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 774.</p> + <img src="foo.jpg" id="test" alt="test" aria-describedby="t1"> + <span id="t1" role="presentation">foo</span> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_838-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_838-manual.html new file mode 100644 index 0000000000..df4210a770 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_838-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Description test case 838</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case 838" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case 838.</p> + <img src="foo.jpg" id="test" alt="test" aria-describedby="t1"> + <div id="t1" style="visibility:hidden">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_broken_reference-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_broken_reference-manual.html new file mode 100644 index 0000000000..7248496201 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_broken_reference-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Description test case broken reference</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case broken reference" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case broken reference.</p> + <img src="foo.jpg" id="test" alt="test" aria-describedby="t1"> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_test_case_one_valid_reference-manual.html b/testing/web-platform/tests/accname/manual/description_test_case_one_valid_reference-manual.html new file mode 100644 index 0000000000..bce5ce6cb7 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_test_case_one_valid_reference-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Description test case one valid reference</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description test case one valid reference" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description test case one valid reference.</p> + <img src="foo.jpg" id="test" alt="test" aria-describedby="t1 t2 t3"> + <div id="t2">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/description_title-same-element-manual.html b/testing/web-platform/tests/accname/manual/description_title-same-element-manual.html new file mode 100644 index 0000000000..8c926e34c8 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/description_title-same-element-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Description title-same-element</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "description", + "is", + "Description" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "Description" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "Description" + ] + ], + "UIA" : [ + [ + "property", + "Description", + "is", + "Description" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Description title-same-element" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Description title-same-element.</p> + <div><input aria-label="Name" id="test" title="Title" aria-describedby="ID1" type="text"></div> + <div id="ID1">Description</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/foo.jpg b/testing/web-platform/tests/accname/manual/foo.jpg Binary files differnew file mode 100644 index 0000000000..7d11a4f7cf --- /dev/null +++ b/testing/web-platform/tests/accname/manual/foo.jpg diff --git a/testing/web-platform/tests/accname/manual/name_1.0_combobox-focusable-alternative-manual.html b/testing/web-platform/tests/accname/manual/name_1.0_combobox-focusable-alternative-manual.html new file mode 100644 index 0000000000..454be9e5e3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_1.0_combobox-focusable-alternative-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name 1.0 combobox-focusable-alternative</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Choose your language" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Choose your language" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Choose your language" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Choose your language" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name 1.0 combobox-focusable-alternative" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name 1.0 combobox-focusable-alternative.</p> + <input id="test" role="combobox" type="text" title="Choose your language" value="English"> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_1.0_combobox-focusable-manual.html b/testing/web-platform/tests/accname/manual/name_1.0_combobox-focusable-manual.html new file mode 100644 index 0000000000..bb7a03121e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_1.0_combobox-focusable-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name 1.0 combobox-focusable</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Choose your language." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Choose your language." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Choose your language." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Choose your language." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name 1.0 combobox-focusable" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name 1.0 combobox-focusable.</p> + <div id="test" role="combobox" tabindex="0" title="Choose your language."> + <span> English </span> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-combobox-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-combobox-manual.html new file mode 100644 index 0000000000..24cbb70671 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-combobox-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-embedded-combobox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-embedded-combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-embedded-combobox.</p> + <input type="checkbox" id="test" /> + <label for="test">Flash the screen + <div role="combobox"> + <div role="textbox"></div> + <ul role="listbox" style="list-style-type: none;"> + <li role="option" aria-selected="true">1</li> + <li role="option">2</li> + <li role="option">3</li> + </ul> + </div> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-listbox-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-listbox-manual.html new file mode 100644 index 0000000000..a7bbe4c192 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-listbox-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-embedded-listbox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-embedded-listbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-embedded-listbox.</p> + <input type="checkbox" id="test" /> + <label for="test">Flash the screen + <ul role="listbox" style="list-style-type: none;"> + <li role="option" aria-selected="true">1</li> + <li role="option">2</li> + <li role="option">3</li> + </ul> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-menu-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-menu-manual.html new file mode 100644 index 0000000000..1c18b98532 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-menu-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-embedded-menu</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-embedded-menu" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-embedded-menu.</p> + <input type="checkbox" id="test" /> + <label for="test">Flash the screen + <span role="menu"> + <span role="menuitem" aria-selected="true">1</span> + <span role="menuitem" hidden>2</span> + <span role="menuitem" hidden>3</span> + </span> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-select-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-select-manual.html new file mode 100644 index 0000000000..06c41e0b5d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-select-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-embedded-select</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-embedded-select" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-embedded-select.</p> + <input type="checkbox" id="test" /> + <label for="test">Flash the screen + <select size="1"> + <option selected="selected">1</option> + <option>2</option> + <option>3</option> + </select> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-slider-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-slider-manual.html new file mode 100644 index 0000000000..48741d3c0f --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-slider-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-embedded-slider</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-embedded-slider" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-embedded-slider.</p> + <input type="checkbox" id="test" /> + <label for="test">foo <input role="slider" type="range" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-spinbutton-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-spinbutton-manual.html new file mode 100644 index 0000000000..d5cf7a55bf --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-spinbutton-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-embedded-spinbutton</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-embedded-spinbutton" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-embedded-spinbutton.</p> + <input type="checkbox" id="test" /> + <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> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-textbox-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-textbox-manual.html new file mode 100644 index 0000000000..2d8642b7cc --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-embedded-textbox-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-embedded-textbox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-embedded-textbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-embedded-textbox.</p> + <input type="checkbox" id="test" /> + <label for="test">Flash the screen + <div role="textbox" contenteditable>1</div> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-multiple-label-alternative-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-multiple-label-alternative-manual.html new file mode 100644 index 0000000000..9f446aaa66 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-multiple-label-alternative-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-multiple-label-alternative</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "a test This is" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "a test This is" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "a test This is" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "a test This is" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-multiple-label-alternative" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-multiple-label-alternative.</p> + <label for="test">a test</label> + <label>This <input type="checkbox" id="test" /> is</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-label-multiple-label-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-label-multiple-label-manual.html new file mode 100644 index 0000000000..54c218c41c --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-label-multiple-label-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-label-multiple-label</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "This is a test" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "This is a test" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "This is a test" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "This is a test" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-label-multiple-label" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-label-multiple-label.</p> + <label>This <input type="checkbox" id="test" /> is</label> + <label for="test">a test</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_checkbox-title-manual.html b/testing/web-platform/tests/accname/manual/name_checkbox-title-manual.html new file mode 100644 index 0000000000..83b5a8c4d1 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_checkbox-title-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name checkbox-title</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name checkbox-title" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name checkbox-title.</p> + <input type="checkbox" id="test" title="foo" /> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-embedded-combobox-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-embedded-combobox-manual.html new file mode 100644 index 0000000000..06adca72fc --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-embedded-combobox-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-embedded-combobox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-embedded-combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-embedded-combobox.</p> + <input type="file" id="test" /> + <label for="test">Flash the screen + <div role="combobox"> + <div role="textbox"></div> + <ul role="listbox" style="list-style-type: none;"> + <li role="option" aria-selected="true">1 </li> + <li role="option">2 </li> + <li role="option">3 </li> + </ul> + </div> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-embedded-menu-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-embedded-menu-manual.html new file mode 100644 index 0000000000..de6bcbaffe --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-embedded-menu-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-embedded-menu</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-embedded-menu" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-embedded-menu.</p> + <input type="file" id="test" /> + <label for="test">Flash the screen + <span role="menu"> + <span role="menuitem" aria-selected="true">1</span> + <span role="menuitem" hidden>2</span> + <span role="menuitem" hidden>3</span> + </span> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-embedded-select-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-embedded-select-manual.html new file mode 100644 index 0000000000..117e96cea6 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-embedded-select-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-embedded-select</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-embedded-select" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-embedded-select.</p> + <input type="file" id="test" /> + <label for="test">Flash the screen + <select size="1"> + <option selected="selected">1</option> + <option>2</option> + <option>3</option> + </select> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-embedded-slider-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-embedded-slider-manual.html new file mode 100644 index 0000000000..22a9057f95 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-embedded-slider-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-embedded-slider</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-embedded-slider" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-embedded-slider.</p> + <input type="file" id="test" /> + <label for="test">foo <input role="slider" type="range" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-embedded-spinbutton-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-embedded-spinbutton-manual.html new file mode 100644 index 0000000000..1432e2fd24 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-embedded-spinbutton-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-embedded-spinbutton</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-embedded-spinbutton" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-embedded-spinbutton.</p> + <input type="file" id="test" /> + <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> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-inline-block-elements-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-inline-block-elements-manual.html new file mode 100644 index 0000000000..c2c1659111 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-inline-block-elements-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-inline-block-elements</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "What is your name?" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "What is your name?" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "What is your name?" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "What is your name?" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-inline-block-elements" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-inline-block-elements.</p> + <input type="file" id="test" /> + <label for="test">W<i>h<b>a</b></i>t<br>is<div>your<div>name<b>?</b></div></div></label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-inline-block-styles-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-inline-block-styles-manual.html new file mode 100644 index 0000000000..ecf6ed1bb9 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-inline-block-styles-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-inline-block-styles</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "This is a test." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "This is a test." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "This is a test." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "This is a test." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-inline-block-styles" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-inline-block-styles.</p> + <style> + label:before { content: "This"; display: block; } + label:after { content: "."; } + </style> + <label for="test">is a test</label> + <input type="text" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-inline-hidden-elements-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-inline-hidden-elements-manual.html new file mode 100644 index 0000000000..c982b42c16 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-inline-hidden-elements-manual.html @@ -0,0 +1,80 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-inline-hidden-elements</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "2 4 6 8 10" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "2 4 6 8 10" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "2 4 6 8 10" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "2 4 6 8 10" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-inline-hidden-elements" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-inline-hidden-elements.</p> + <style> + .hidden { display: none; } + </style> + <input type="file" id="test" /> + <label for="test"> + <span class="hidden">1</span><span>2</span> + <span style="visibility: hidden;">3</span><span>4</span> + <span hidden>5</span><span>6</span> + <span aria-hidden="true">7</span><span>8</span> + <span aria-hidden="false" class="hidden">9</span><span>10</span> + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-owned-combobox-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-owned-combobox-manual.html new file mode 100644 index 0000000000..79a69177e3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-owned-combobox-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-owned-combobox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-owned-combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-owned-combobox.</p> + <input type="file" id="test" /> + <label for="test">Flash <span aria-owns="id1">the screen</span> times.</label> + <div id="id1"> + <div role="combobox"> + <div role="textbox"></div> + <ul role="listbox" style="list-style-type: none;"> + <li role="option" aria-selected="true">1 </li> + <li role="option">2 </li> + <li role="option">3 </li> + </ul> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-label-owned-combobox-owned-listbox-manual.html b/testing/web-platform/tests/accname/manual/name_file-label-owned-combobox-owned-listbox-manual.html new file mode 100644 index 0000000000..4bbc6f3613 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-label-owned-combobox-owned-listbox-manual.html @@ -0,0 +1,83 @@ +<!doctype html> +<html> + <head> + <title>Name file-label-owned-combobox-owned-listbox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 2 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 2 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 2 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 2 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-label-owned-combobox-owned-listbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-label-owned-combobox-owned-listbox.</p> + <input type="file" id="test" /> + <label for="test">Flash <span aria-owns="id1">the screen</span> times.</label> + <div> + <div id="id1" role="combobox" aria-owns="id2"> + <div role="textbox"></div> + </div> + </div> + <div> + <ul id="id2" role="listbox" style="list-style-type: none;"> + <li role="option" >1 </li> + <li role="option" aria-selected="true">2 </li> + <li role="option">3 </li> + </ul> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_file-title-manual.html b/testing/web-platform/tests/accname/manual/name_file-title-manual.html new file mode 100644 index 0000000000..77b7bf68bc --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_file-title-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name file-title</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name file-title" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name file-title.</p> + <input type="file" id="test" title="foo" /> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_from_content-manual.html b/testing/web-platform/tests/accname/manual/name_from_content-manual.html new file mode 100644 index 0000000000..f7e2491d3a --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_from_content-manual.html @@ -0,0 +1,91 @@ +<!doctype html> +<html> + <head> + <title>Name from content</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name from content" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name from content.</p> + <style> + .hidden { display: none; } + </style> + <div id="test" role="link" tabindex="0"> + <span aria-hidden="true"><i> Hello, </i></span> + <span>My</span> name is + <div><img src="file.jpg" title="Bryan" alt="" role="presentation" /></div> + <span role="presentation" aria-label="Eli"> + <span aria-label="Garaventa">Zambino</span> + </span> + <span>the weird.</span> + (QED) + <span class="hidden"><i><b>and don't you forget it.</b></i></span> + <table> + <tr> + <td>Where</td> + <td style="visibility:hidden;"><div>in</div></td> + <td><div style="display:none;">the world</div></td> + <td>are my marbles?</td> + </tr> + </table> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_from_content_of_label-manual.html b/testing/web-platform/tests/accname/manual/name_from_content_of_label-manual.html new file mode 100644 index 0000000000..3eb5b77926 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_from_content_of_label-manual.html @@ -0,0 +1,92 @@ +<!doctype html> +<html> + <head> + <title>Name from content of label</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name from content of label" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name from content of label.</p> + <style> + .hidden { display: none; } + </style> + <input type="text" id="test" /> + <label for="test" id="label"> + <span aria-hidden="true"><i> Hello, </i></span> + <span>My</span> name is + <div><img src="file.jpg" title="Bryan" alt="" role="presentation" /></div> + <span role="presentation" aria-label="Eli"> + <span aria-label="Garaventa">Zambino</span> + </span> + <span>the weird.</span> + (QED) + <span class="hidden"><i><b>and don't you forget it.</b></i></span> + <table> + <tr> + <td>Where</td> + <td style="visibility:hidden;"><div>in</div></td> + <td><div style="display:none;">the world</div></td> + <td>are my marbles?</td> + </tr> + </table> + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_from_content_of_labelledby_element-manual.html b/testing/web-platform/tests/accname/manual/name_from_content_of_labelledby_element-manual.html new file mode 100644 index 0000000000..a60a8c0a0e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_from_content_of_labelledby_element-manual.html @@ -0,0 +1,92 @@ +<!doctype html> +<html> + <head> + <title>Name from content of labelledby element</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "My name is Eli the weird. (QED) Where are my marbles?" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name from content of labelledby element" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name from content of labelledby element.</p> + <style> + .hidden { display: none; } + </style> + <input id="test" type="text" aria-labelledby="lblId" /> + <div id="lblId" > + <span aria-hidden="true"><i> Hello, </i></span> + <span>My</span> name is + <div><img src="file.jpg" title="Bryan" alt="" role="presentation" /></div> + <span role="presentation" aria-label="Eli"> + <span aria-label="Garaventa">Zambino</span> + </span> + <span>the weird.</span> + (QED) + <span class="hidden"><i><b>and don't you forget it.</b></i></span> + <table> + <tr> + <td>Where</td> + <td style="visibility:hidden;"><div>in</div></td> + <td><div style="display:none;">the world</div></td> + <td>are my marbles?</td> + </tr> + </table> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html b/testing/web-platform/tests/accname/manual/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html new file mode 100644 index 0000000000..879393037e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html @@ -0,0 +1,102 @@ +<!doctype html> +<html> + <head> + <title>Name from content of labelledby elements one of which is hidden</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Important stuff" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Important stuff" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Important stuff" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Important stuff" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name from content of labelledby elements one of which is hidden" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name from content of labelledby elements one of which is hidden.</p> + <style> + .hidden { display: none; } + </style> + <div> + <input id="test" type="text" aria-labelledby="lbl1 lbl2" aria-describedby="descId" /> + <span> + <span aria-hidden="true" id="lbl1">Important</span> + <span class="hidden"> + <span aria-hidden="true" id="lbl2">stuff</span> + </span> + </span> + </div> + <div class="hidden"> + <div id="descId"> + <span aria-hidden="true"><i> Hello, </i></span> + <span>My</span> name is + <div><img src="file.jpg" title="Bryan" alt="" role="presentation" /></div> + <span role="presentation" aria-label="Eli"> + <span aria-label="Garaventa">Zambino</span> + </span> + <span>the weird.</span> + (QED) + <span class="hidden"><i><b>and don't you forget it.</b></i></span> + <table> + <tr> + <td>Where</td> + <td style="visibility:hidden;"><div>in</div></td> + <td><div style="display:none;">the world</div></td> + <td>are my marbles?</td> + </tr> + </table> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_heading-combobox-focusable-alternative-manual.html b/testing/web-platform/tests/accname/manual/name_heading-combobox-focusable-alternative-manual.html new file mode 100644 index 0000000000..c1540b12be --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_heading-combobox-focusable-alternative-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Name heading-combobox-focusable-alternative</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Country of origin: United States" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Country of origin: United States" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Country of origin: United States" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Country of origin: United States" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name heading-combobox-focusable-alternative" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name heading-combobox-focusable-alternative.</p> + <h2 id="test"> + Country of origin: + <input role="combobox" type="text" title="Choose your country." value="United States"> + </h2> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_image-title-manual.html b/testing/web-platform/tests/accname/manual/name_image-title-manual.html new file mode 100644 index 0000000000..43ce9be14e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_image-title-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name image-title</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name image-title" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name image-title.</p> + <input type="image" src="test.png" id="test" title="foo" /> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_link-mixed-content-manual.html b/testing/web-platform/tests/accname/manual/name_link-mixed-content-manual.html new file mode 100644 index 0000000000..f089ebde60 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_link-mixed-content-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>Name link-mixed-content</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "My name is Eli the weird. (QED)" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "My name is Eli the weird. (QED)" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "My name is Eli the weird. (QED)" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "My name is Eli the weird. (QED)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name link-mixed-content" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name link-mixed-content.</p> + <style> + .hidden { display: none; } + </style> + <div id="test" role="link" tabindex="0"> + <span aria-hidden="true"><i> Hello, </i></span> + <span>My</span> name is + <div><img src="file.jpg" title="Bryan" alt="" role="presentation" /></div> + <span role="presentation" aria-label="Eli"><span aria-label="Garaventa">Zambino</span></span> + <span>the weird.</span> + (QED) + <span class="hidden"><i><b>and don't you forget it.</b></i></span> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_link-with-label-manual.html b/testing/web-platform/tests/accname/manual/name_link-with-label-manual.html new file mode 100644 index 0000000000..e8f1e3f813 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_link-with-label-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name link-with-label</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "California" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "California" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "California" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "California" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name link-with-label" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name link-with-label.</p> + <a id="test" href="#" aria-label="California" title="San Francisco" >United States</a> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_password-label-embedded-combobox-manual.html b/testing/web-platform/tests/accname/manual/name_password-label-embedded-combobox-manual.html new file mode 100644 index 0000000000..39c8005a71 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_password-label-embedded-combobox-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>Name password-label-embedded-combobox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name password-label-embedded-combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name password-label-embedded-combobox.</p> + <input type="password" id="test" /> + <label for="test">Flash the screen + <div role="combobox"> + <div role="textbox"></div> + <ul role="listbox" style="list-style-type: none;"> + <li role="option" aria-selected="true">1</li> + <li role="option">2</li> + <li role="option">3</li> + </ul> + </div> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_password-label-embedded-menu-manual.html b/testing/web-platform/tests/accname/manual/name_password-label-embedded-menu-manual.html new file mode 100644 index 0000000000..d6ad64966a --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_password-label-embedded-menu-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name password-label-embedded-menu</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name password-label-embedded-menu" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name password-label-embedded-menu.</p> + <input type="password" id="test" /> + <label for="test">Flash the screen + <span role="menu"> + <span role="menuitem" aria-selected="true">1</span> + <span role="menuitem" hidden>2</span> + <span role="menuitem" hidden>3</span> + </span> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_password-label-embedded-select-manual.html b/testing/web-platform/tests/accname/manual/name_password-label-embedded-select-manual.html new file mode 100644 index 0000000000..f4b96e2cd1 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_password-label-embedded-select-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name password-label-embedded-select</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name password-label-embedded-select" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name password-label-embedded-select.</p> + <input type="password" id="test" /> + <label for="test">Flash the screen + <select size="1"> + <option selected="selected">1</option> + <option>2</option> + <option>3</option> + </select> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_password-label-embedded-slider-manual.html b/testing/web-platform/tests/accname/manual/name_password-label-embedded-slider-manual.html new file mode 100644 index 0000000000..7701b8b44e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_password-label-embedded-slider-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name password-label-embedded-slider</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name password-label-embedded-slider" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name password-label-embedded-slider.</p> + <input type="password" id="test" /> + <label for="test">foo <input role="slider" type="range" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_password-label-embedded-spinbutton-manual.html b/testing/web-platform/tests/accname/manual/name_password-label-embedded-spinbutton-manual.html new file mode 100644 index 0000000000..67cd55dc38 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_password-label-embedded-spinbutton-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name password-label-embedded-spinbutton</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name password-label-embedded-spinbutton" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name password-label-embedded-spinbutton.</p> + <input type="password" id="test" /> + <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> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_password-title-manual.html b/testing/web-platform/tests/accname/manual/name_password-title-manual.html new file mode 100644 index 0000000000..3f3eb41609 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_password-title-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name password-title</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name password-title" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name password-title.</p> + <input type="password" id="test" title="foo" /> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_radio-label-embedded-combobox-manual.html b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-combobox-manual.html new file mode 100644 index 0000000000..3facb5e1b2 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-combobox-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>Name radio-label-embedded-combobox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name radio-label-embedded-combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name radio-label-embedded-combobox.</p> + <input type="radio" id="test" /> + <label for="test">Flash the screen + <div role="combobox"> + <div role="textbox"></div> + <ul role="listbox" style="list-style-type: none;"> + <li role="option" aria-selected="true">1</li> + <li role="option">2</li> + <li role="option">3</li> + </ul> + </div> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_radio-label-embedded-menu-manual.html b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-menu-manual.html new file mode 100644 index 0000000000..3752b1fcd6 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-menu-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name radio-label-embedded-menu</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name radio-label-embedded-menu" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name radio-label-embedded-menu.</p> + <input type="radio" id="test" /> + <label for="test">Flash the screen + <span role="menu"> + <span role="menuitem" aria-selected="true">1</span> + <span role="menuitem" hidden>2</span> + <span role="menuitem" hidden>3</span> + </span> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_radio-label-embedded-select-manual.html b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-select-manual.html new file mode 100644 index 0000000000..6f632f94cd --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-select-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name radio-label-embedded-select</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name radio-label-embedded-select" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name radio-label-embedded-select.</p> + <input type="radio" id="test" /> + <label for="test">Flash the screen + <select size="1"> + <option selected="selected">1</option> + <option>2</option> + <option>3</option> + </select> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_radio-label-embedded-slider-manual.html b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-slider-manual.html new file mode 100644 index 0000000000..5c82a06bfb --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-slider-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name radio-label-embedded-slider</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name radio-label-embedded-slider" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name radio-label-embedded-slider.</p> + <input type="radio" id="test" /> + <label for="test">foo <input role="slider" type="range" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_radio-label-embedded-spinbutton-manual.html b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-spinbutton-manual.html new file mode 100644 index 0000000000..ab4fdcce7f --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_radio-label-embedded-spinbutton-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name radio-label-embedded-spinbutton</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name radio-label-embedded-spinbutton" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name radio-label-embedded-spinbutton.</p> + <input type="radio" id="test" /> + <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> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_radio-title-manual.html b/testing/web-platform/tests/accname/manual/name_radio-title-manual.html new file mode 100644 index 0000000000..cb6f065e8f --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_radio-title-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name radio-title</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name radio-title" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name radio-title.</p> + <input type="radio" id="test" title="foo" /> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_539-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_539-manual.html new file mode 100644 index 0000000000..659740b887 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_539-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 539</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Rich" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Rich" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Rich" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Rich" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 539" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 539.</p> + <input type="button" aria-label="Rich" id="test"> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_540-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_540-manual.html new file mode 100644 index 0000000000..c187c37ffc --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_540-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 540</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Rich's button" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Rich's button" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Rich's button" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Rich's button" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 540" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 540.</p> + <div id="ID1">Rich's button</div> + <input type="button" aria-labelledby="ID1" id="test"> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_541-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_541-manual.html new file mode 100644 index 0000000000..19405449d3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_541-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 541</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Rich's button" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Rich's button" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Rich's button" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Rich's button" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 541" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 541.</p> + <div id="ID1">Rich's button</div> + <input type="button" aria-label="bar" aria-labelledby="ID1" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_543-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_543-manual.html new file mode 100644 index 0000000000..7908bf658b --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_543-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 543</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Reset" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Reset" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Reset" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Reset" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 543" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 543.</p> + <input type="reset" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_544-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_544-manual.html new file mode 100644 index 0000000000..1b7ba3772d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_544-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 544</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 544" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 544.</p> + <input type="button" id="test" value="foo"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_545-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_545-manual.html new file mode 100644 index 0000000000..19098046f4 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_545-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 545</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 545" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 545.</p> + <input src="baz.html" type="image" id="test" alt="foo"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_546-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_546-manual.html new file mode 100644 index 0000000000..f40aa2f38a --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_546-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 546</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "States:" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "States:" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "States:" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "States:" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 546" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 546.</p> + <label for="test">States:</label> + <input type="text" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_547-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_547-manual.html new file mode 100644 index 0000000000..b7a977b12e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_547-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 547</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo David" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo David" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo David" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo David" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 547" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 547.</p> + <label for="test"> + foo + <input type="text" value="David"/> + </label> + <input type="text" id="test" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_548-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_548-manual.html new file mode 100644 index 0000000000..d63ff4a2f6 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_548-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>Name test case 548</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 548" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 548.</p> + <label for="test"> + crazy + <select name="member" size="1" role="menu" tabindex="0"> + <option role="menuitem" value="beard" selected="true">clown</option> + <option role="menuitem" value="scuba">rich</option> + </select> + </label> + <input type="text" id="test" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_549-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_549-manual.html new file mode 100644 index 0000000000..c729c1f51b --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_549-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 549</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy Monday" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy Monday" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy Monday" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy Monday" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 549" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 549.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuetext="Monday" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="text" id="test" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_550-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_550-manual.html new file mode 100644 index 0000000000..de8a635cae --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_550-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 550</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy 4" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy 4" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy 4" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy 4" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 550" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 550.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="text" id="test" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_551-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_551-manual.html new file mode 100644 index 0000000000..65e284f780 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_551-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 551</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 551" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 551.</p> + <input type="text" id="test" title="crazy" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_552-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_552-manual.html new file mode 100644 index 0000000000..a48aaa3165 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_552-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 552</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 552" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 552.</p> + <style> + label:before { content:"fancy "; } + </style> + <label for="test">fruit</label> + <input type="text" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_553-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_553-manual.html new file mode 100644 index 0000000000..def83ed359 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_553-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 553</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "test content" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "test content" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "test content" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "test content" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 553" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 553.</p> + <style type="text/css"> + [data-after]:after { content: attr(data-after); } + </style> + <label for="test" data-after="test content"></label> + <input type="text" id="test"> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_556-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_556-manual.html new file mode 100644 index 0000000000..5923db21e2 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_556-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 556</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "1" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "1" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "1" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 556" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 556.</p> + <img id="test" src="foo.jpg" aria-label="1"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_557-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_557-manual.html new file mode 100644 index 0000000000..1a81ffcb3d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_557-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 557</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "1" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "1" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "1" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 557" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 557.</p> + <img id="test" src="foo.jpg" aria-label="1" alt="a" title="t"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_558-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_558-manual.html new file mode 100644 index 0000000000..3e5b448ba3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_558-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 558</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 558" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 558.</p> + <input type="text" value="peanuts" id="test"> + <img aria-labelledby="test" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_559-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_559-manual.html new file mode 100644 index 0000000000..00cc7d1d0e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_559-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 559</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 559" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 559.</p> + <img id="test" aria-labelledby="test" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_560-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_560-manual.html new file mode 100644 index 0000000000..05bf8d44b4 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_560-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 560</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 560" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 560.</p> + <input type="text" value="peanuts" id="test"> + <img aria-labelledby="test" aria-label="1" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_561-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_561-manual.html new file mode 100644 index 0000000000..5131744c07 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_561-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 561</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "1" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "1" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "1" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 561" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 561.</p> + <img id="test" aria-labelledby="test" aria-label="1" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_562-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_562-manual.html new file mode 100644 index 0000000000..f718b35f5e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_562-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Name test case 562</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "peanuts popcorn apple jacks" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "peanuts popcorn apple jacks" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "peanuts popcorn apple jacks" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "peanuts popcorn apple jacks" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 562" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 562.</p> + <input type="text" value="peanuts" id="ID1"> + <input type="text" value="popcorn" id="ID2"> + <input type="text" value="apple jacks" id="ID3"> + <img aria-labelledby="ID1 ID2 ID3" id="test" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_563-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_563-manual.html new file mode 100644 index 0000000000..5214fb946d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_563-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 563</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "l peanuts" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "l peanuts" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "l peanuts" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "l peanuts" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 563" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 563.</p> + <input type="text" value="peanuts" id="ID1"> + <img id="test" aria-label="l" aria-labelledby="test ID1" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_564-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_564-manual.html new file mode 100644 index 0000000000..bac49adc44 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_564-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name test case 564</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "l peanuts popcorn" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "l peanuts popcorn" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "l peanuts popcorn" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "l peanuts popcorn" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 564" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 564.</p> + <input type="text" value="peanuts" id="ID1"> + <input type="text" value="popcorn" id="ID2"> + <img id="test" aria-label="l" aria-labelledby="test ID1 ID2" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_565-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_565-manual.html new file mode 100644 index 0000000000..749d24d53d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_565-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Name test case 565</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "l peanuts popcorn apple jacks" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "l peanuts popcorn apple jacks" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "l peanuts popcorn apple jacks" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "l peanuts popcorn apple jacks" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 565" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 565.</p> + <input type="text" value="peanuts" id="ID1"> + <input type="text" value="popcorn" id="ID2"> + <input type="text" value="apple jacks" id="ID3"> + <img id="test" aria-label="l" aria-labelledby="test ID1 ID2 ID3" alt= "a" title="t" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_566-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_566-manual.html new file mode 100644 index 0000000000..5ffef66083 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_566-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Name test case 566</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "t peanuts popcorn apple jacks" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "t peanuts popcorn apple jacks" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "t peanuts popcorn apple jacks" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "t peanuts popcorn apple jacks" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 566" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 566.</p> + <input type="text" value="peanuts" id="ID1"> + <input type="text" value="popcorn" id="ID2"> + <input type="text" value="apple jacks" id="ID3"> + <img id="test" aria-label="" aria-labelledby="test ID1 ID2 ID3" alt="" title="t" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_596-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_596-manual.html new file mode 100644 index 0000000000..821b96b300 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_596-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 596</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "bar" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "bar" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "bar" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "bar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 596" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 596.</p> + <div id="test" aria-labelledby="ID1">foo</div> + <span id="ID1">bar</span> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_597-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_597-manual.html new file mode 100644 index 0000000000..ed3e90f210 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_597-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 597</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Tag" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Tag" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Tag" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Tag" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 597" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 597.</p> + <div id="test" aria-label="Tag">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_598-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_598-manual.html new file mode 100644 index 0000000000..89a0f899a2 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_598-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 598</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "bar" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "bar" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "bar" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "bar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 598" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 598.</p> + <div id="test" aria-labelledby="ID1" aria-label="Tag">foo</div> + <span id="ID1">bar</span> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_599-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_599-manual.html new file mode 100644 index 0000000000..9f186a6333 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_599-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name test case 599</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 599" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 599.</p> + <div id="test" aria-labelledby="ID0 ID1" aria-label="Tag">foo</div> + <span id="ID0">bar</span> + <span id="ID1">baz</span> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_600-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_600-manual.html new file mode 100644 index 0000000000..091c8cb357 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_600-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 600</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 600" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 600.</p> + <div id="test">Div with text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_601-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_601-manual.html new file mode 100644 index 0000000000..8a87591f5a --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_601-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 601</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 601" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 601.</p> + <div id="test" role="button">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_602-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_602-manual.html new file mode 100644 index 0000000000..71da6f713d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_602-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 602</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Tag" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Tag" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Tag" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Tag" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 602" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 602.</p> + <div id="test" role="button" title="Tag" style="outline:medium solid black; width:2em; height:1em;"> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_603-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_603-manual.html new file mode 100644 index 0000000000..5496f50431 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_603-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 603</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 603" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 603.</p> + <div id="ID1">foo</div> + <a id="test" href="test.html" aria-labelledby="ID1">bar</a> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_604-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_604-manual.html new file mode 100644 index 0000000000..db0831c6eb --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_604-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 604</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Tag" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Tag" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Tag" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Tag" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 604" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 604.</p> + <a id="test" href="test.html" aria-label="Tag">ABC</a> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_605-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_605-manual.html new file mode 100644 index 0000000000..ec6c5a7d50 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_605-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 605</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "bar" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "bar" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "bar" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "bar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 605" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 605.</p> + <a href="test.html" id="test" aria-labelledby="ID1" aria-label="Tag">foo</a> + <p id="ID1">bar</p> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_606-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_606-manual.html new file mode 100644 index 0000000000..8bcdefac2f --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_606-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 606</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Tag foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Tag foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Tag foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Tag foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 606" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 606.</p> + <a href="test.html" id="test" aria-labelledby="test ID1" aria-label="Tag"></a> + <p id="ID1">foo</p> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_607-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_607-manual.html new file mode 100644 index 0000000000..8737c8600c --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_607-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 607</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "ABC" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "ABC" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "ABC" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "ABC" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 607" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 607.</p> + <a href="test.html" id="test">ABC</a> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_608-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_608-manual.html new file mode 100644 index 0000000000..4380f400e6 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_608-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 608</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Tag" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Tag" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Tag" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Tag" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 608" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 608.</p> + <a href="test.html" id="test" title="Tag"></a> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_609-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_609-manual.html new file mode 100644 index 0000000000..d408962ae9 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_609-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Name test case 609</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 609" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 609.</p> + <input id="test" type="text" aria-labelledby="ID1 ID2 ID3"> + <p id="ID1">foo</p> + <p id="ID2">bar</p> + <p id="ID3">baz</p> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_610-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_610-manual.html new file mode 100644 index 0000000000..33eaaba4c7 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_610-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 610</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 610" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 610.</p> + <input id="test" type="text" aria-label="bar" aria-labelledby="ID1 test"> + <div id="ID1">foo</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_611-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_611-manual.html new file mode 100644 index 0000000000..2ea0860238 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_611-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 611</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 611" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 611.</p> + <input id="test" type="text"/> + <label for="test">foo</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_612-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_612-manual.html new file mode 100644 index 0000000000..9faa92250f --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_612-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 612</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 612" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 612.</p> + <input type="password" id="test"> + <label for="test">foo</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_613-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_613-manual.html new file mode 100644 index 0000000000..d8a27c3726 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_613-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 613</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 613" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 613.</p> + <input type="checkbox" id="test"> + <label for="test">foo</label></body> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_614-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_614-manual.html new file mode 100644 index 0000000000..b2323aaa1d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_614-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 614</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 614" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 614.</p> + <input type="radio" id="test"> + <label for="test">foo</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_615-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_615-manual.html new file mode 100644 index 0000000000..e1d53f4ac8 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_615-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 615</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 615" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 615.</p> + <input type="file" id="test"> + <label for="test">foo</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_616-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_616-manual.html new file mode 100644 index 0000000000..310bfca4d1 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_616-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 616</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 616" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 616.</p> + <input type="image" id="test"> + <label for="test">foo</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_617-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_617-manual.html new file mode 100644 index 0000000000..2927063307 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_617-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 617</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 617" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 617.</p> + <input type="checkbox" id="test"> + <label for="test">foo<input type="text" value="bar">baz</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_618-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_618-manual.html new file mode 100644 index 0000000000..be74e08629 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_618-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 618</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 618" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 618.</p> + <input type="text" id="test"> + <label for="test">foo<input type="text" value="bar">baz</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_619-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_619-manual.html new file mode 100644 index 0000000000..8bd0826915 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_619-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 619</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 619" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 619.</p> + <input type="password" id="test"> + <label for="test">foo<input type="text" value="bar">baz</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_620-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_620-manual.html new file mode 100644 index 0000000000..855d0cc848 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_620-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 620</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 620" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 620.</p> + <input type="radio" id="test"> + <label for="test">foo<input type="text" value="bar">baz</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_621-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_621-manual.html new file mode 100644 index 0000000000..bb5780ad2b --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_621-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 621</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 621" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 621.</p> + <input type="file" id="test"> + <label for="test">foo <input type="text" value="bar"> baz</label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_659-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_659-manual.html new file mode 100644 index 0000000000..abf5e85e16 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_659-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>Name test case 659</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 659" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 659.</p> + <style type="text/css"> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + <form> + <label for="test" title="bar"><input id="test" type="text" name="test" title="buz"></label> + </form> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_660-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_660-manual.html new file mode 100644 index 0000000000..0c18218707 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_660-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>Name test case 660</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo bar baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo bar baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo bar baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo bar baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 660" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 660.</p> + <style type="text/css"> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + <form> + <label for="test" title="bar"><input id="test" type="password" name="test" title="buz"></label> + </form> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_661-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_661-manual.html new file mode 100644 index 0000000000..2bb16f9ffc --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_661-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>Name test case 661</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 661" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 661.</p> + <style type="text/css"> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + <form> + <label for="test"><input id="test" type="checkbox" name="test" title=" bar "></label> + </form> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_662-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_662-manual.html new file mode 100644 index 0000000000..5587569438 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_662-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>Name test case 662</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 662" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 662.</p> + <style type="text/css"> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + <form> + <label for="test"><input id="test" type="radio" name="test" title=" bar "></label> + </form> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_663a-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_663a-manual.html new file mode 100644 index 0000000000..3fc3d17ccd --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_663a-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>Name test case 663a</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 663a" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 663a.</p> + <style type="text/css"> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + <form> + <label for="test"><input id="test" type="image" src="foo.jpg" name="test" title="bar"></label> + </form> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_721-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_721-manual.html new file mode 100644 index 0000000000..90e1911d15 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_721-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 721</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "States:" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "States:" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "States:" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "States:" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 721" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 721.</p> + <label for="test">States:</label> + <input type="password" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_723-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_723-manual.html new file mode 100644 index 0000000000..84cd65534f --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_723-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 723</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "States:" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "States:" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "States:" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "States:" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 723" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 723.</p> + <label for="test">States:</label> + <input type="checkbox" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_724-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_724-manual.html new file mode 100644 index 0000000000..69d8d70f0e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_724-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 724</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "States:" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "States:" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "States:" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "States:" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 724" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 724.</p> + <label for="test">States:</label> + <input type="radio" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_725-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_725-manual.html new file mode 100644 index 0000000000..9d1b867122 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_725-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 725</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "File:" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "File:" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "File:" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "File:" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 725" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 725.</p> + <label for="test">File:</label> + <input type="file" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_726-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_726-manual.html new file mode 100644 index 0000000000..0faf0f27d3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_726-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Name test case 726</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "States:" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "States:" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "States:" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "States:" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 726" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 726.</p> + <label for="test">States:</label> + <input type="image" id="test" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_727-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_727-manual.html new file mode 100644 index 0000000000..d009ae7fb3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_727-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 727</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo David" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo David" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo David" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo David" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 727" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 727.</p> + <label for="test"> + foo + <input type="text" value="David"/> + </label> + <input type="password" id="test" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_728-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_728-manual.html new file mode 100644 index 0000000000..f6a14e7494 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_728-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 728</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo David" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo David" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo David" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo David" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 728" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 728.</p> + <label for="test"> + foo + <input type="text" value="David"/> + </label> + <input type="checkbox" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_729-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_729-manual.html new file mode 100644 index 0000000000..f9b5e156f3 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_729-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 729</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo David" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo David" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo David" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo David" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 729" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 729.</p> + <label for="test"> + foo + <input type="text" value="David"/> + </label> + <input type="radio" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_730-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_730-manual.html new file mode 100644 index 0000000000..b213840268 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_730-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 730</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo David" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo David" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo David" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo David" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 730" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 730.</p> + <label for="test"> + foo + <input type="text" value="David"/> + </label> + <input type="file" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_731-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_731-manual.html new file mode 100644 index 0000000000..50f4a5b2eb --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_731-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 731</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo David" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo David" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo David" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo David" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 731" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 731.</p> + <label for="test"> + foo + <input type="text" value="David"/> + </label> + <input type="image" id="test" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_733-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_733-manual.html new file mode 100644 index 0000000000..a9d3aaa670 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_733-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>Name test case 733</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 733" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 733.</p> + <label for="test"> + crazy + <select name="member" size="1" role="menu" tabindex="0"> + <option role="menuitem" value="beard" selected="true">clown</option> + <option role="menuitem" value="scuba">rich</option> + </select> + </label> + <input type="password" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_734-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_734-manual.html new file mode 100644 index 0000000000..fbf5a0c3dd --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_734-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>Name test case 734</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 734" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 734.</p> + <label for="test"> + crazy + <select name="member" size="1" role="menu" tabindex="0"> + <option role="menuitem" value="beard" selected="true">clown</option> + <option role="menuitem" value="scuba">rich</option> + </select> + </label> + <input type="checkbox" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_735-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_735-manual.html new file mode 100644 index 0000000000..955af0f10d --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_735-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>Name test case 735</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 735" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 735.</p> + <label for="test"> + crazy + <select name="member" size="1" role="menu" tabindex="0"> + <option role="menuitem" value="beard" selected="true">clown</option> + <option role="menuitem" value="scuba">rich</option> + </select> + </label> + <input type="radio" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_736-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_736-manual.html new file mode 100644 index 0000000000..2518ff32bd --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_736-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>Name test case 736</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 736" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 736.</p> + <label for="test"> + crazy + <select name="member" size="1" role="menu" tabindex="0"> + <option role="menuitem" value="beard" selected="true">clown</option> + <option role="menuitem" value="scuba">rich</option> + </select> + </label> + <input type="file" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_737-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_737-manual.html new file mode 100644 index 0000000000..a550114b4f --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_737-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>Name test case 737</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 737" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 737.</p> + <label for="test"> + crazy + <select name="member" size="1" role="menu" tabindex="0"> + <option role="menuitem" value="beard" selected="true">clown</option> + <option role="menuitem" value="scuba">rich</option> + </select> + </label> + <input type="image" id="test" src="foo.jpg"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_738-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_738-manual.html new file mode 100644 index 0000000000..ddf6210a9a --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_738-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 738</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy Monday" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy Monday" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy Monday" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy Monday" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 738" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 738.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuetext="Monday" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="password" value="baz" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_739-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_739-manual.html new file mode 100644 index 0000000000..241c0fbff0 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_739-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 739</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy Monday" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy Monday" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy Monday" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy Monday" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 739" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 739.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuetext="Monday" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="checkbox" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_740-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_740-manual.html new file mode 100644 index 0000000000..f13ac6b4ad --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_740-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 740</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy Monday" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy Monday" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy Monday" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy Monday" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 740" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 740.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuetext="Monday" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="radio" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_741-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_741-manual.html new file mode 100644 index 0000000000..9b0b4bfef1 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_741-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 741</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy Monday" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy Monday" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy Monday" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy Monday" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 741" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 741.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuetext="Monday" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="file" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_742-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_742-manual.html new file mode 100644 index 0000000000..e3fa6ad1fe --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_742-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 742</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy Monday" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy Monday" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy Monday" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy Monday" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 742" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 742.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuetext="Monday" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="image" src="foo.jpg" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_743-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_743-manual.html new file mode 100644 index 0000000000..b226f00c7e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_743-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 743</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy 4" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy 4" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy 4" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy 4" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 743" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 743.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="password" id="test" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_744-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_744-manual.html new file mode 100644 index 0000000000..44a70f7c8e --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_744-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 744</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy 4" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy 4" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy 4" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy 4" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 744" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 744.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="checkbox" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_745-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_745-manual.html new file mode 100644 index 0000000000..e54efda31c --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_745-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 745</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy 4" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy 4" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy 4" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy 4" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 745" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 745.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="radio" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_746-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_746-manual.html new file mode 100644 index 0000000000..132fe30302 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_746-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 746</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy 4" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy 4" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy 4" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy 4" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 746" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 746.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="file" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_747-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_747-manual.html new file mode 100644 index 0000000000..be56f5b7f4 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_747-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>Name test case 747</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy 4" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy 4" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy 4" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy 4" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 747" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 747.</p> + <label for="test"> + crazy + <div role="spinbutton" aria-valuemin="1" aria-valuemax="7" aria-valuenow="4"> + </div> + </label> + <input type="image" src="foo.jpg" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_748-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_748-manual.html new file mode 100644 index 0000000000..ad7581985b --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_748-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 748</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 748" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 748.</p> + <input type="password" id="test" title="crazy" value="baz"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_749-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_749-manual.html new file mode 100644 index 0000000000..0ccaca7848 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_749-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 749</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 749" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 749.</p> + <input type="checkbox" id="test" title="crazy"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_750-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_750-manual.html new file mode 100644 index 0000000000..19f1243204 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_750-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 750</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 750" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 750.</p> + <input type="radio" id="test" title="crazy"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_751-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_751-manual.html new file mode 100644 index 0000000000..8f44ef9e42 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_751-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 751</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 751" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 751.</p> + <input type="file" id="test" title="crazy"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_752-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_752-manual.html new file mode 100644 index 0000000000..6d2593b330 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_752-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name test case 752</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "crazy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "crazy" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "crazy" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "crazy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 752" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 752.</p> + <input type="image" src="foo.jpg" id="test" title="crazy"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_753-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_753-manual.html new file mode 100644 index 0000000000..82ee27cc26 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_753-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 753</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 753" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 753.</p> + <style> + label:before { content:"fancy "; } + </style> + <label for="test">fruit</label> + <input type="password" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_754-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_754-manual.html new file mode 100644 index 0000000000..06d56eef39 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_754-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 754</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 754" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 754.</p> + <style> + label:before { content:"fancy "; } + </style> + <label for="test">fruit</label> + <input type="checkbox" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_755-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_755-manual.html new file mode 100644 index 0000000000..e621db7517 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_755-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 755</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 755" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 755.</p> + <style> + label:before { content:"fancy "; } + </style> + <label for="test">fruit</label> + <input type="radio" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_756-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_756-manual.html new file mode 100644 index 0000000000..70394d28a8 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_756-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 756</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 756" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 756.</p> + <style> + label:before { content:"fancy "; } + </style> + <label for="test">fruit</label> + <input type="file" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_757-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_757-manual.html new file mode 100644 index 0000000000..4e7fd81bcf --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_757-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 757</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 757" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 757.</p> + <style> + label:before { content:"fancy "; } + </style> + <label for="test">fruit</label> + <input type="image" src="foo.jpg" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_758-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_758-manual.html new file mode 100644 index 0000000000..0381f1b947 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_758-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 758</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 758" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 758.</p> + <style> + label:after { content:" fruit"; } + </style> + <label for="test">fancy</label> + <input type="password" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_759-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_759-manual.html new file mode 100644 index 0000000000..a9b2d2fc61 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_759-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 759</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 759" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 759.</p> + <style> + label:after { content:" fruit"; } + </style> + <label for="test">fancy</label> + <input type="checkbox" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_760-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_760-manual.html new file mode 100644 index 0000000000..bab3c19ead --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_760-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 760</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 760" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 760.</p> + <style> + label:after { content:" fruit"; } + </style> + <label for="test">fancy</label> + <input type="radio" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_761-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_761-manual.html new file mode 100644 index 0000000000..7848eea9b5 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_761-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 761</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fruitfancy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 761" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 761.</p> + <style> + label:after { content:" fruit"; } + </style> + <label for="test">fancy</label> + <input type="file" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_test_case_762-manual.html b/testing/web-platform/tests/accname/manual/name_test_case_762-manual.html new file mode 100644 index 0000000000..d0d04e3ce4 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_test_case_762-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>Name test case 762</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "fancy fruit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "fancy fruit" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "fancy fruit" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "fancy fruit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name test case 762" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name test case 762.</p> + <style> + label:after { content:" fruit"; } + </style> + <label for="test">fancy</label> + <input type="image" src="foo.jpg" id="test"/> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_text-label-embedded-combobox-manual.html b/testing/web-platform/tests/accname/manual/name_text-label-embedded-combobox-manual.html new file mode 100644 index 0000000000..a32b1c2b52 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_text-label-embedded-combobox-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>Name text-label-embedded-combobox</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name text-label-embedded-combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name text-label-embedded-combobox.</p> + <input type="text" id="test" /> + <label for="test">Flash the screen + <div role="combobox"> + <div role="textbox"></div> + <ul role="listbox" style="list-style-type: none;"> + <li role="option" aria-selected="true">1</li> + <li role="option">2</li> + <li role="option">3</li> + </ul> + </div> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_text-label-embedded-menu-manual.html b/testing/web-platform/tests/accname/manual/name_text-label-embedded-menu-manual.html new file mode 100644 index 0000000000..d6fddc6f1c --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_text-label-embedded-menu-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name text-label-embedded-menu</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name text-label-embedded-menu" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name text-label-embedded-menu.</p> + <input type="text" id="test" /> + <label for="test">Flash the screen + <span role="menu"> + <span role="menuitem" aria-selected="true">1</span> + <span role="menuitem" hidden>2</span> + <span role="menuitem" hidden>3</span> + </span> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_text-label-embedded-select-manual.html b/testing/web-platform/tests/accname/manual/name_text-label-embedded-select-manual.html new file mode 100644 index 0000000000..6a0f6e10b8 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_text-label-embedded-select-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>Name text-label-embedded-select</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "Flash the screen 1 times." + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "Flash the screen 1 times." + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "Flash the screen 1 times." + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "Flash the screen 1 times." + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name text-label-embedded-select" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name text-label-embedded-select.</p> + <input type="text" id="test" /> + <label for="test">Flash the screen + <select size="1"> + <option selected="selected">1</option> + <option>2</option> + <option>3</option> + </select> + times. + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_text-label-embedded-slider-manual.html b/testing/web-platform/tests/accname/manual/name_text-label-embedded-slider-manual.html new file mode 100644 index 0000000000..caf91243fa --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_text-label-embedded-slider-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name text-label-embedded-slider</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name text-label-embedded-slider" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name text-label-embedded-slider.</p> + <input type="text" id="test" /> + <label for="test">foo <input role="slider" type="range" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz + </label> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_text-label-embedded-spinbutton-manual.html b/testing/web-platform/tests/accname/manual/name_text-label-embedded-spinbutton-manual.html new file mode 100644 index 0000000000..8e1b1e21dd --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_text-label-embedded-spinbutton-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>Name text-label-embedded-spinbutton</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo 5 baz" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo 5 baz" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo 5 baz" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo 5 baz" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name text-label-embedded-spinbutton" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name text-label-embedded-spinbutton.</p> + <input type="text" id="test" /> + <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> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/name_text-title-manual.html b/testing/web-platform/tests/accname/manual/name_text-title-manual.html new file mode 100644 index 0000000000..720a94cd7a --- /dev/null +++ b/testing/web-platform/tests/accname/manual/name_text-title-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Name text-title</title> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/wai-aria/scripts/ATTAcomm.js"></script> + <script> + setup({explicit_timeout: true, explicit_done: true }); + + var theTest = new ATTAcomm( + { + "steps" : [ + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "name", + "is", + "foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "foo" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Name text-title" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Name text-title.</p> + <input type="text" id="test" title="foo" /> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/accname/manual/test.png b/testing/web-platform/tests/accname/manual/test.png Binary files differnew file mode 100644 index 0000000000..85cfa35fd1 --- /dev/null +++ b/testing/web-platform/tests/accname/manual/test.png diff --git a/testing/web-platform/tests/accname/name/ReadMe.md b/testing/web-platform/tests/accname/name/ReadMe.md new file mode 100644 index 0000000000..be95525853 --- /dev/null +++ b/testing/web-platform/tests/accname/name/ReadMe.md @@ -0,0 +1,60 @@ + +## Breakdown of AccName Name Computation files... + +Portions of the AccName algorithm are referenced via unique IDs such as `comp_labelledby` and `comp_embedded_control`. This ReadMe lists those sections (and subsections) in order as they appear in [AccName Computation Steps](https://w3c.github.io/accname/#computation-steps). + +In order to make the WPT test files digestible and understandable, the tests are broken up more or less in the structure of the algorithm, with the file struction listed below. Sub-section test (such as `comp_labelledby_recursion`) are tested as part of the main section `comp_labelledby` in [comp_labelledby.html](comp_labelledby.html). + +Non-name portions of the AccName spec (such as Descripton Computation) should be tested in another directory. + +If a new section of the AccName algorithm is added, please list it here when checking in new tests. Thanks. + +### No-Op (no test files) +- comp_init +- comp_computation + +### [comp_hidden_not_referenced](comp_hidden_not_referenced.html) + +### [comp_labelledby](comp_labelledby.html) + - comp_labelledby_reset + - comp_labelledby_foreach + - comp_labelledby_set_current + - comp_labelledby_recursion + - comp_labelledby_append + - comp_labelledby_return + +### [comp_embedded_control](comp_embedded_control.html) + - comp_embedded_control_textbox + - comp_embedded_control_combobox_or_listbox + - comp_embedded_control_range + - comp_embedded_control_range_valuetext + - comp_embedded_control_range_valuenow + - comp_embedded_control_range_host_language_value + +### [comp_label](comp_label.html) + +### [comp_host_language_label](comp_host_language_label.html) + +### [comp_name_from_content](comp_name_from_content.html) + - comp_name_from_content_reset + - comp_name_from_content_pseudo_element + - comp_name_from_content_pseudo_element_before + - comp_name_from_content_pseudo_element_after + - comp_name_from_content_for_each_child + - comp_name_from_content_for_each_child_set_current + - comp_name_from_content_for_each_child_recursion + - comp_for_each_child_append + - comp_name_from_content_return + +### [comp_text_node](comp_text_node.html) + +### comp_recursive_name_from_content (tested with [comp_name_from_content](comp_name_from_content.html)) + +### [comp_tooltip](comp_tooltip.html) + +### No-Op (no test files) + - comp_append + - comp_complete + + + diff --git a/testing/web-platform/tests/accname/name/comp_embedded_control.html b/testing/web-platform/tests/accname/name/comp_embedded_control.html new file mode 100644 index 0000000000..cfcd4d21c7 --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_embedded_control.html @@ -0,0 +1,37 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Embedded Control</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<label> + <input type="checkbox" data-expectedlabel="Flash the screen 3 times" data-testname="checkbox label with embedded textfield" class="ex"> + Flash the screen + <input value="3" aria-label="number of times" data-expectedlabel="number of times" data-testname="label of embedded textfield inside checkbox label" class="ex"> times +</label> + + +<!-- + +Todo: test all remaining cases of https://w3c.github.io/accname/#comp_embedded_control + - comp_embedded_control_textbox + - comp_embedded_control_combobox_or_listbox + - comp_embedded_control_range + - comp_embedded_control_range_valuetext + - comp_embedded_control_range_valuenow + - comp_embedded_control_range_host_language_value + +--> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/comp_hidden_not_referenced.html b/testing/web-platform/tests/accname/name/comp_hidden_not_referenced.html new file mode 100644 index 0000000000..cfaebbb502 --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_hidden_not_referenced.html @@ -0,0 +1,26 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Hidden Not Referenced</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<h2 class="ex" data-expectedlabel="heading label" data-testname="heading with interior hidden node"> + heading + <span hidden>bogus</span> + label +</h2> + +<!-- Todo: test all remaining cases of https://w3c.github.io/accname/#comp_hidden_not_referenced --> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/comp_host_language_label.html b/testing/web-platform/tests/accname/name/comp_host_language_label.html new file mode 100644 index 0000000000..d2638b1ba7 --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_host_language_label.html @@ -0,0 +1,30 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Host Language Label</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<label for="t">label</label> +<input id="t" data-expectedlabel="label" data-testname="host language: label[for] input[type=text]" class="ex"> +<!-- Todo: test all remaining input types with label[for] --> + +<label> + <input type="checkbox" data-expectedlabel="label" data-testname="host language: label input[type=checkbox] encapsulation" class="ex"> + label +</label> +<!-- Todo: test all remaining input types with label encapsulation --> + +<!-- Todo: test all remaining cases of https://w3c.github.io/accname/#comp_host_language_label --> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/comp_label.html b/testing/web-platform/tests/accname/name/comp_label.html new file mode 100644 index 0000000000..9edd8000e9 --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_label.html @@ -0,0 +1,22 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Label</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<div aria-label="label" data-expectedlabel="label" data-testname="label valid on group" role="group" class="ex">x</div> + +<!-- Todo: test all remaining cases of https://w3c.github.io/accname/#comp_label --> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/comp_labelledby.html b/testing/web-platform/tests/accname/name/comp_labelledby.html new file mode 100644 index 0000000000..8e66362d81 --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_labelledby.html @@ -0,0 +1,35 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Labelledby</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<div role="group" aria-labelledby="h" class="ex" data-expectedlabel="div group label" data-testname="div group explicitly labelledby heading"> + <h2 id="h">div group label</h2> + <p>text inside div group</p> +</div> + +<!-- + +Todo: test all remaining cases of https://w3c.github.io/accname/#comp_labelledby + - comp_labelledby_reset + - comp_labelledby_foreach + - comp_labelledby_set_current + - comp_labelledby_recursion + - comp_labelledby_append + - comp_labelledby_return + +--> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/comp_name_from_content.html b/testing/web-platform/tests/accname/name/comp_name_from_content.html new file mode 100644 index 0000000000..1390c6dcc8 --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_name_from_content.html @@ -0,0 +1,37 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Name From Content</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<h1 data-expectedlabel="label" data-testname="heading name from content" class="ex">label</h1> + +<!-- + +Todo: test all remaining cases of https://w3c.github.io/accname/#comp_name_from_content + - comp_name_from_content_reset + - comp_name_from_content_pseudo_element + - comp_name_from_content_pseudo_element_before + - comp_name_from_content_pseudo_element_after + - comp_name_from_content_for_each_child + - comp_name_from_content_for_each_child_set_current + - comp_name_from_content_for_each_child_recursion + - comp_for_each_child_append + - comp_name_from_content_return + +Todo: test all remaining *recursive* cases in https://w3c.github.io/accname/#comp_recursive_name_from_content + +--> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/comp_text_node.html b/testing/web-platform/tests/accname/name/comp_text_node.html new file mode 100644 index 0000000000..61f51cf4ed --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_text_node.html @@ -0,0 +1,36 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Text Node</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<!-- I'm not certain whether #comp_text_node requires a lot of testing outside of the #comp_name_from_content contexts, --> +<!-- but I did think of one example where text node versus comment node may make a difference when joining text nodes with a space vs innerText. --> + +<!-- Skipped (class="ex" removed) until https://github.com/w3c/accname/issues/193 is resolved --> +<h2 class="ex-skipped" data-expectedlabel="heading label" data-testname="heading with text/comment/text nodes, no space"> + heading<!-- with non-text node splitting concatenated text nodes -->label<!-- [sic] no extra spaces around first comment --> +</h2> + + +<h2 class="ex" data-expectedlabel="heading label" data-testname="heading with text/comment/text nodes, with space"> + heading + <!-- comment node between text nodes with leading/trailing whitespace --> + label +</h2> + + +<!-- Todo: test all remaining cases of https://w3c.github.io/accname/#comp_text_node --> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/comp_tooltip.html b/testing/web-platform/tests/accname/name/comp_tooltip.html new file mode 100644 index 0000000000..52e7b43cfc --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_tooltip.html @@ -0,0 +1,22 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Tooltip</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + +<a href="#" title="label" data-expectedlabel="label" data-testname="link label from tooltip" class="ex"><img src="#" alt=""></a> + +<!-- Todo: test all remaining cases of https://w3c.github.io/accname/#comp_tooltip --> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/accname/name/shadowdom/basic.html b/testing/web-platform/tests/accname/name/shadowdom/basic.html new file mode 100644 index 0000000000..ca60986d33 --- /dev/null +++ b/testing/web-platform/tests/accname/name/shadowdom/basic.html @@ -0,0 +1,35 @@ +<!doctype html> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/resources/testdriver.js"></script> +<script src="/resources/testdriver-vendor.js"></script> +<script src="/resources/testdriver-actions.js"></script> +<script src="/wai-aria/scripts/aria-utils.js"></script> + +<label id="label1"> + <div id="host1"></div> +</label> +<button id="labelled1" + class="labelled" + type="button" + aria-labelledby="label1" + data-expectedlabel="foo" + data-testname="aria-labelledby reference to element with text content inside shadow DOM"></button> + +<label id="label2"> + <div id="host2"></div> +</label> +<button id="labelled2" + class="labelled" + type="button" + aria-labelledby="label2" + data-expectedlabel="bar" + data-testname="aria-labelledby reference to element with aria-label inside shadow DOM"></button> +<script> + +document.getElementById('host1').attachShadow({ mode: 'open' }).innerHTML = 'foo'; +document.getElementById('host2').attachShadow({ mode: 'open' }).innerHTML = '<div aria-label="bar"></div>'; + +AriaUtils.verifyLabelsBySelector('.labelled'); + +</script> diff --git a/testing/web-platform/tests/accname/name/shadowdom/slot.html b/testing/web-platform/tests/accname/name/shadowdom/slot.html new file mode 100644 index 0000000000..9155a2eef3 --- /dev/null +++ b/testing/web-platform/tests/accname/name/shadowdom/slot.html @@ -0,0 +1,58 @@ +<!doctype html> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/resources/testdriver.js"></script> +<script src="/resources/testdriver-vendor.js"></script> +<script src="/resources/testdriver-actions.js"></script> +<script src="/wai-aria/scripts/aria-utils.js"></script> + +<label id="label1"> + <div id="host1">slotted</div> +</label> +<button id="labelled1" + class="labelled" + type="button" + aria-labelledby="label1" + data-expectedlabel="foo slotted bar" + data-testname="aria-labelledby reference to element with slotted text content"></button> + +<label id="label2"> + <div id="host2"></div> +</label> +<button id="labelled2" + class="labelled" + type="button" + aria-labelledby="label2" + data-expectedlabel="foo default bar" + data-testname="aria-labelledby reference to element with default slotted text content"></button> + +<label id="label3"> + <div id="host3">slotted</div> +</label> +<button id="labelled3" + class="labelled" + type="button" + aria-labelledby="label3" + data-expectedlabel="foo slotted bar" + data-testname="aria-labelledby reference to element with slotted text content and aria-label on slot"></button> + +<label id="label4"> + <div id="host4"></div> +</label> +<button id="labelled4" + class="labelled" + type="button" + aria-labelledby="label4" + data-expectedlabel="foo default bar" + data-testname="aria-labelledby reference to element with default slotted text content and aria-label on slot"></button> + +<script> + +document.getElementById('host1').attachShadow({ mode: 'open' }).innerHTML = 'foo <slot></slot> bar'; +document.getElementById('host2').attachShadow({ mode: 'open' }).innerHTML = 'foo <slot>default</slot> bar'; +document.getElementById('host3').attachShadow({ mode: 'open' }).innerHTML = 'foo <slot aria-label="label"></slot> bar'; +document.getElementById('host4').attachShadow({ mode: 'open' }).innerHTML = 'foo <slot aria-label="label">default</slot> bar'; + +AriaUtils.verifyLabelsBySelector('.labelled'); + +</script> |