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/core-aam | |
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/core-aam')
252 files changed, 21571 insertions, 0 deletions
diff --git a/testing/web-platform/tests/core-aam/META.yml b/testing/web-platform/tests/core-aam/META.yml new file mode 100644 index 0000000000..d2e6c9a048 --- /dev/null +++ b/testing/web-platform/tests/core-aam/META.yml @@ -0,0 +1,5 @@ +spec: https://w3c.github.io/core-aam/ +suggested_reviewers: + - jnurthen + - joanmarie + - michael-n-cooper diff --git a/testing/web-platform/tests/core-aam/README.md b/testing/web-platform/tests/core-aam/README.md new file mode 100644 index 0000000000..8728628a6d --- /dev/null +++ b/testing/web-platform/tests/core-aam/README.md @@ -0,0 +1,59 @@ +core-aam: Tests for the Core Accessibility API Mappings Recommendation +====================================================================== + +The [Core Accessibility API Mappings Recommendation](https://www.w3.org/TR/core-aam-1.1/) +describes how user agents should expose semantics of web content languages to accessibility +APIs. This helps users with disabilities to obtain and interact with information using +assistive technologies. Documenting these mappings promotes interoperable exposure of roles, +states, properties, and events implemented by accessibility APIs and helps to ensure that +this information appears in a manner consistent with author intent. + +The purpose of these tests is to help ensure that user agents support the requirements of +the Recommendation. + +The general approach for this testing is to enable both manual and automated testing, with +a preference for automation. + + +Running Tests +------------- + +In order to run these tests in an automated fashion, you will need to have a special +Assistive Technology Test Adapter (ATTA) for the platform under test. We will provide +a list of these for popular platforms here as they are made available. + +The ATTA will monitor the window under test via the platforms Accessibility Layer, +forwarding information about the Accessibility Tree to the running test so that it +can evaluate support for the various features under test. + +The workflow for running these tests is something like: + +1. Start up the ATTA for the platform under test. +2. Start up the test driver window, select the core-aam tests to be run, + and click "Start" +3. A window pops up that shows a test, the description of which tells the + tester what is being tested. In an automated test, the test will proceed + without user intervention. In a manual test, some user input or verification + may be required. +4. The test runs. Success or failure is determined and reported to the test + driver window, which then cycles to the next test in the sequence. +5. Repeat steps 2-4 until done. +6. Download the JSON format report of test results, which can then be visually + inspected, reported on using various tools, or passed on to W3C for evaluation + and collection in the Implementation Report via github. + +**Remember that while these tests are written to help exercise implementations, +their other (important) purpose is to increase confidence that there are +interoperable implementations.** So, implementers are the audience, but these +tests are not meant to be a comprehensive collection of tests for a client that +might implement the Recommendation. + + +Capturing and Reporting Results +------------------------------- + +As tests are run against implementations, if the results of testing are +submitted to [test-results](https://github.com/w3c/test-results/) then they will +be automatically included in documents generated by +[wptreport](https://www.github.com/w3c/wptreport). The same tool can be used +locally to view reports about recorded results. diff --git a/testing/web-platform/tests/core-aam/abstract_role_not_mapped-manual.html b/testing/web-platform/tests/core-aam/abstract_role_not_mapped-manual.html new file mode 100644 index 0000000000..ce7568bd77 --- /dev/null +++ b/testing/web-platform/tests/core-aam/abstract_role_not_mapped-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>Abstract Roles Not Mapped</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", + "role", + "is", + "ROLE_PARAGRAPH" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_PARAGRAPH" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TEXT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Abstract Roles Not Mapped" +} + + ) ; + </script> + </head> + <body> + <p>This tests the statement: User agents MUST NOT map abstract roles via the standard role mechanism of the accessibility API.</p> + <p id="test" role="widget">content</p> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/alert-manual.html b/testing/web-platform/tests/core-aam/alert-manual.html new file mode 100644 index 0000000000..34f8180b59 --- /dev/null +++ b/testing/web-platform/tests/core-aam/alert-manual.html @@ -0,0 +1,88 @@ +<!doctype html> +<html> + <head> + <title>alert</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", + "role", + "is", + "ROLE_NOTIFICATION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationAlert" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_ALERT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "alert" + ], + [ + "property", + "LiveSetting", + "is", + "Assertive (2)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "alert" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for alert.</p> + <div role='alert' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/alertdialog-manual.html b/testing/web-platform/tests/core-aam/alertdialog-manual.html new file mode 100644 index 0000000000..5e72c1ccbb --- /dev/null +++ b/testing/web-platform/tests/core-aam/alertdialog-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>alertdialog</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", + "role", + "is", + "ROLE_ALERT" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationAlertDialog" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_DIALOG" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Pane" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "alertdialog" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for alertdialog.</p> + <div role='alertdialog' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/application-manual.html b/testing/web-platform/tests/core-aam/application-manual.html new file mode 100644 index 0000000000..1a3b006a9d --- /dev/null +++ b/testing/web-platform/tests/core-aam/application-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>application</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", + "role", + "is", + "ROLE_EMBEDDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXWebApplication" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_APPLICATION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Pane" + ], + [ + "property", + "LocalizedControlType", + "is", + "application" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "application" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for application.</p> + <div role='application' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-atomic_false-manual.html b/testing/web-platform/tests/core-aam/aria-atomic_false-manual.html new file mode 100644 index 0000000000..d1ab0b65f9 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-atomic_false-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>aria-atomic=false</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", + "objectAttributes", + "doesNotContain", + "atomic:true" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "container-atomic:true" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIAAtomic", + "is", + "NO" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "doesNotContain", + "atomic:true" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "container-atomic:true" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.atomic", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-atomic=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-atomic=false.</p> + <div role='group' id='test' aria-atomic='false' aria-live='polite'> + <div role='group' id='child'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-atomic_true-manual.html b/testing/web-platform/tests/core-aam/aria-atomic_true-manual.html new file mode 100644 index 0000000000..74353a6119 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-atomic_true-manual.html @@ -0,0 +1,119 @@ +<!doctype html> +<html> + <head> + <title>aria-atomic=true</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", + "objectAttributes", + "contains", + "atomic:true" + ], + [ + "property", + "objectAttributes", + "contains", + "container-atomic:true" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIAAtomic", + "is", + "YES" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "atomic:true" + ], + [ + "property", + "objectAttributes", + "contains", + "container-atomic:true" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.atomic", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "ATK" : [ + [ + "property", + "objectAttributes", + "contains", + "container-atomic:true" + ], + [ + "relation", + "RELATION_MEMBER_OF", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "container-atomic:true" + ], + [ + "relation", + "IA2_RELATION_MEMBER_OF", + "is", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-atomic=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-atomic=true.</p> + <div role='group' id='test' aria-atomic='true' aria-live='polite'> + <div role='group' id='child'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-autocomplete_both-manual.html b/testing/web-platform/tests/core-aam/aria-autocomplete_both-manual.html new file mode 100644 index 0000000000..d241eb6c3b --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-autocomplete_both-manual.html @@ -0,0 +1,65 @@ +<!doctype html> +<html> + <head> + <title>aria-autocomplete=both</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", + "objectAttributes", + "contains", + "autocomplete:both" + ], + [ + "property", + "states", + "contains", + "STATE_SUPPORTS_AUTOCOMPLETION" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "autocomplete:both" + ], + [ + "property", + "states", + "contains", + "IA2_STATE_SUPPORTS_AUTOCOMPLETION" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-autocomplete=both" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-autocomplete=both.</p> + <input role='combobox' id='test' aria-autocomplete='both'> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-autocomplete_inline-manual.html b/testing/web-platform/tests/core-aam/aria-autocomplete_inline-manual.html new file mode 100644 index 0000000000..e0f24b1613 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-autocomplete_inline-manual.html @@ -0,0 +1,65 @@ +<!doctype html> +<html> + <head> + <title>aria-autocomplete=inline</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", + "objectAttributes", + "contains", + "autocomplete:inline" + ], + [ + "property", + "states", + "contains", + "STATE_SUPPORTS_AUTOCOMPLETION" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "autocomplete:inline" + ], + [ + "property", + "states", + "contains", + "IA2_STATE_SUPPORTS_AUTOCOMPLETION" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-autocomplete=inline" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-autocomplete=inline.</p> + <input role='combobox' id='test' aria-autocomplete='inline'> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-autocomplete_list-manual.html b/testing/web-platform/tests/core-aam/aria-autocomplete_list-manual.html new file mode 100644 index 0000000000..4c420bd16f --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-autocomplete_list-manual.html @@ -0,0 +1,65 @@ +<!doctype html> +<html> + <head> + <title>aria-autocomplete=list</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", + "objectAttributes", + "contains", + "autocomplete:list" + ], + [ + "property", + "states", + "contains", + "STATE_SUPPORTS_AUTOCOMPLETION" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "autocomplete:list" + ], + [ + "property", + "states", + "contains", + "IA2_STATE_SUPPORTS_AUTOCOMPLETION" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-autocomplete=list" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-autocomplete=list.</p> + <input role='combobox' id='test' aria-autocomplete='list'> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-braillelabel-manual.html b/testing/web-platform/tests/core-aam/aria-braillelabel-manual.html new file mode 100644 index 0000000000..a0668e8a50 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-braillelabel-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>aria-braillelabel</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", + "objectAttributes", + "contains", + "braillelabel:foobar" + ] + ], + "AXAPI" : [ + [ + "property", + "AXBrailleLabel", + "is", + "foobar" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "braillelabel:foobar" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.braillelabel", + "is", + "foobar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-braillelabel" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-braillelabel.</p> + <button id="test" aria-braillelabel="foobar"> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-brailleroledescription-manual.html b/testing/web-platform/tests/core-aam/aria-brailleroledescription-manual.html new file mode 100644 index 0000000000..e509c88159 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-brailleroledescription-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>aria-brailleroledescription</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", + "objectAttributes", + "contains", + "brailleroledescription:foobar" + ] + ], + "AXAPI" : [ + [ + "property", + "AXBrailleRoleDescription", + "is", + "foobar" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "brailleroledescription:foobar" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.brailleroledescription", + "is", + "foobar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-brailleroledescription" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-brailleroledescription.</p> + <button id="test" aria-brailleroledescription="foobar"> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-brailleroledescription_is_empty-manual.html b/testing/web-platform/tests/core-aam/aria-brailleroledescription_is_empty-manual.html new file mode 100644 index 0000000000..6d24fe641e --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-brailleroledescription_is_empty-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>aria-brailleroledescription is empty</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", + "objectAttributes", + "doesNotContain", + "brailleroledescription" + ] + ], + "AXAPI" : [ + [ + "property", + "objectAttributes", + "doesNotContain", + "AXBrailleRoleDescription" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "doesNotContain", + "brailleroledescription" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties", + "doesNotContain", + "brailleroledescription" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-brailleroledescription=''" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-brailleroledescription is empty.</p> + <button id="test" aria-brailleroledescription=""> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-busy_false-manual.html b/testing/web-platform/tests/core-aam/aria-busy_false-manual.html new file mode 100644 index 0000000000..70a25082c6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-busy_false-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-busy=false</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", + "states", + "doesNotContain", + "STATE_BUSY" + ] + ], + "AXAPI" : [ + [ + "property", + "AXElementBusy", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_BUSY" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.busy", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-busy=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-busy=false.</p> + <div role='group' id='test' aria-busy='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-busy_true-manual.html b/testing/web-platform/tests/core-aam/aria-busy_true-manual.html new file mode 100644 index 0000000000..ce5a5413c6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-busy_true-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-busy=true</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", + "states", + "contains", + "STATE_BUSY" + ] + ], + "AXAPI" : [ + [ + "property", + "AXElementBusy", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_BUSY" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.busy", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-busy=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-busy=true.</p> + <div role='group' id='test' aria-busy='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-busy_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-busy_value_changes-manual.html new file mode 100644 index 0000000000..ff7c679b50 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-busy_value_changes-manual.html @@ -0,0 +1,135 @@ +<!doctype html> +<html> + <head> + <title>aria-busy value changes</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" : [ + { + "attribute" : "aria-busy", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:busy" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXElementBusyChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "PropertyChangedEvent" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-busy", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:busy" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXElementBusyChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "PropertyChangedEvent" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-busy value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-busy value changes.</p> + <div role='group' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-checked_false_on_checkbox-manual.html b/testing/web-platform/tests/core-aam/aria-checked_false_on_checkbox-manual.html new file mode 100644 index 0000000000..e508c5b654 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-checked_false_on_checkbox-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>aria-checked=false on checkbox</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", + "states", + "contains", + "STATE_CHECKABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_CHECKED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "0" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "checkable:true" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_CHECKED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "Off (0)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-checked=false on checkbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-checked=false on checkbox.</p> + <div role='checkbox' id='test' aria-checked='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-checked_false_on_menuitemradio-manual.html b/testing/web-platform/tests/core-aam/aria-checked_false_on_menuitemradio-manual.html new file mode 100644 index 0000000000..a977d4c2da --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-checked_false_on_menuitemradio-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>aria-checked=false on menuitemradio</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", + "states", + "contains", + "STATE_CHECKABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_CHECKED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "0" + ], + [ + "property", + "AXMenuItemMarkChar", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "checkable:true" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_CHECKED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "Off (0)" + ], + [ + "property", + "SelectionItem.IsSelected", + "is", + "False" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-checked=false on menuitemradio" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-checked=false on menuitemradio.</p> + <div role='menu'> + <div role='menuitemradio' id='test' aria-checked='false'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-checked_mixed-manual.html b/testing/web-platform/tests/core-aam/aria-checked_mixed-manual.html new file mode 100644 index 0000000000..c685b8bc28 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-checked_mixed-manual.html @@ -0,0 +1,90 @@ +<!doctype html> +<html> + <head> + <title>aria-checked=mixed</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", + "states", + "contains", + "STATE_INDETERMINATE" + ], + [ + "property", + "states", + "contains", + "STATE_CHECKABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_CHECKED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "checkable:true" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_MIXED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "Indeterminate (2)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-checked=mixed" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-checked=mixed.</p> + <div role='checkbox' id='test' aria-checked='mixed'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-checked_true_on_checkbox-manual.html b/testing/web-platform/tests/core-aam/aria-checked_true_on_checkbox-manual.html new file mode 100644 index 0000000000..440731c864 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-checked_true_on_checkbox-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>aria-checked=true on checkbox</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", + "states", + "contains", + "STATE_CHECKABLE" + ], + [ + "property", + "states", + "contains", + "STATE_CHECKED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "1" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "checkable:true" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_CHECKED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "On (1)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-checked=true on checkbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-checked=true on checkbox.</p> + <div role='checkbox' id='test' aria-checked='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-checked_true_on_menuitemradio-manual.html b/testing/web-platform/tests/core-aam/aria-checked_true_on_menuitemradio-manual.html new file mode 100644 index 0000000000..0d22a08bc3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-checked_true_on_menuitemradio-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>aria-checked=true on menuitemradio</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", + "states", + "contains", + "STATE_CHECKABLE" + ], + [ + "property", + "states", + "contains", + "STATE_CHECKED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "1" + ], + [ + "property", + "AXMenuItemMarkChar", + "is", + "✓" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "checkable:true" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_CHECKED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "On (1)" + ], + [ + "property", + "SelectionItem.IsSelected", + "is", + "True" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-checked=true on menuitemradio" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-checked=true on menuitemradio.</p> + <div role='menu'> + <div role='menuitemradio' id='test' aria-checked='true'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-checked_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-checked_value_changes-manual.html new file mode 100644 index 0000000000..f90ac2fc62 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-checked_value_changes-manual.html @@ -0,0 +1,135 @@ +<!doctype html> +<html> + <head> + <title>aria-checked value changes</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" : [ + { + "attribute" : "aria-checked", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:checked" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXValueChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "TogglePattern.ToggleStateProperty" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-checked", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:checked" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXValueChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "TogglePattern.ToggleStateProperty" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-checked value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-checked value changes.</p> + <div role='checkbox' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-colcount-manual.html b/testing/web-platform/tests/core-aam/aria-colcount-manual.html new file mode 100644 index 0000000000..64b182b7ab --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-colcount-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>aria-colcount</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", + "objectAttributes", + "contains", + "colcount:3" + ], + [ + "result", + "atk_table_get_n_columns()", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIAColumnCount", + "is", + "3" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "colcount:3" + ] + ], + "UIA" : [ + [ + "property", + "Grid.ColumnCount", + "is", + "3" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "cell", + "test" : { + "IAccessible2" : [ + [ + "property", + "groupPosition", + "contains", + "similarItemsInGroup:3" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-colcount" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-colcount.</p> + <div role='table' id='test' aria-colcount='3'> + <div role='row'> + <div role='cell' id='cell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-colindex-manual.html b/testing/web-platform/tests/core-aam/aria-colindex-manual.html new file mode 100644 index 0000000000..7a270045e9 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-colindex-manual.html @@ -0,0 +1,86 @@ +<!doctype html> +<html> + <head> + <title>aria-colindex</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", + "objectAttributes", + "contains", + "colindex:3" + ], + [ + "result", + "atk_table_cell_get_position()", + "contains", + "column=0" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIAColumnIndex", + "is", + "3" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "colindex:3" + ], + [ + "property", + "groupPosition", + "contains", + "positionInGroup:3" + ] + ], + "UIA" : [ + [ + "property", + "GridItem.Column", + "is", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-colindex" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-colindex.</p> + <div role='grid'> + <div role='row'> + <div role='cell' id='test' aria-colindex='3'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-colspan-manual.html b/testing/web-platform/tests/core-aam/aria-colspan-manual.html new file mode 100644 index 0000000000..75e6ac1cc7 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-colspan-manual.html @@ -0,0 +1,86 @@ +<!doctype html> +<html> + <head> + <title>aria-colspan</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", + "objectAttributes", + "contains", + "colspan:3" + ], + [ + "result", + "atk_table_cell_get_row_column_span()", + "contains", + "column_span=1" + ] + ], + "AXAPI" : [ + [ + "property", + "AXColumnIndexRange.length", + "is", + "3" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "colspan:3" + ], + [ + "property", + "columnExtent", + "is", + "3" + ] + ], + "UIA" : [ + [ + "property", + "GridItem.ColumnSpan", + "is", + "3" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-colspan" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-colspan.</p> + <div role='grid'> + <div role='row'> + <div role='cell' id='test' aria-colspan='3'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-controls-manual.html b/testing/web-platform/tests/core-aam/aria-controls-manual.html new file mode 100644 index 0000000000..e903d21fe8 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-controls-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>aria-controls</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" : [ + [ + "relation", + "RELATION_CONTROLLER_FOR", + "is", + "[list]" + ] + ], + "AXAPI" : [ + [ + "property", + "AXLinkedUIElements", + "is", + "[list]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_CONTROLLER_FOR", + "is", + "[list]" + ] + ], + "UIA" : [ + [ + "property", + "ControllerFor", + "is", + "[list]" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "list", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_CONTROLLED_BY", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_CONTROLLED_BY", + "is", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-controls" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-controls.</p> + <div role='combobox' id='test' aria-controls='list'> + <div role='textbox'>content</div> + </div> + <div role='listbox' id='list'> + <div role='option'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-current_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-current_value_changes-manual.html new file mode 100644 index 0000000000..14a5aaeab9 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-current_value_changes-manual.html @@ -0,0 +1,122 @@ +<!doctype html> +<html> + <head> + <title>aria-current value changes</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" : [ + { + "attribute" : "aria-current", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:active" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "IAccessible2" : [ + [ + "event", + "type", + "is", + "IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "PropertyChangedEvent" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-current", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:active" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "IAccessible2" : [ + [ + "event", + "type", + "is", + "IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "PropertyChangedEvent" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-current value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-current value changes.</p> + <div role="list"> + <div id="test" role="listitem">1</li> + <div role="listitem">2</li> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-current_with_non-false_allowed_value-manual.html b/testing/web-platform/tests/core-aam/aria-current_with_non-false_allowed_value-manual.html new file mode 100644 index 0000000000..60196296ef --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-current_with_non-false_allowed_value-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-current with non-false allowed value</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", + "objectAttributes", + "contains", + "current:step" + ], + [ + "property", + "states", + "contains", + "STATE_ACTIVE" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIACurrent", + "is", + "step" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "current:step" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.current", + "is", + "step" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-current with non-false allowed value" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-current with non-false allowed value.</p> + <div role='group' id='test' aria-current='step'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-current_with_unrecognized_value-manual.html b/testing/web-platform/tests/core-aam/aria-current_with_unrecognized_value-manual.html new file mode 100644 index 0000000000..cef77474de --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-current_with_unrecognized_value-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-current with unrecognized value</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", + "objectAttributes", + "contains", + "current:true" + ], + [ + "property", + "states", + "contains", + "STATE_ACTIVE" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIACurrent", + "is", + "true" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "current:true" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.current", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-current with unrecognized value" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-current with unrecognized value.</p> + <div role='group' id='test' aria-current='foo'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-describedby-manual.html b/testing/web-platform/tests/core-aam/aria-describedby-manual.html new file mode 100644 index 0000000000..4cffe6fcb0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-describedby-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>aria-describedby</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", + "hello world" + ], + [ + "relation", + "RELATION_DESCRIBED_BY", + "is", + "[description]" + ] + ], + "AXAPI" : [ + [ + "property", + "AXHelp", + "is", + "hello world" + ] + ], + "IAccessible2" : [ + [ + "property", + "accDescription", + "is", + "hello world" + ], + [ + "relation", + "IA2_RELATION_DESCRIBED_BY", + "is", + "[description]" + ] + ], + "UIA" : [ + [ + "property", + "FullDescription", + "is", + "hello world" + ], + [ + "property", + "DescribedBy", + "is", + "[description]" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "description", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_DESCRIPTION_FOR", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_DESCRIPTION_FOR", + "is", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-describedby" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-describedby.</p> + <div role='group' id='test' aria-describedby='description'>content</div> + <div id='description'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-details-manual.html b/testing/web-platform/tests/core-aam/aria-details-manual.html new file mode 100644 index 0000000000..e2166935f8 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-details-manual.html @@ -0,0 +1,86 @@ +<!doctype html> +<html> + <head> + <title>aria-details</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" : [ + [ + "relation", + "RELATION_DETAILS", + "is", + "[details]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_DETAILS", + "is", + "[details]" + ] + ], + "UIA" : [ + [ + "property", + "DescribedBy", + "is", + "[details]" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "details", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_DETAILS_FOR", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_DETAILS_FOR", + "is", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-details" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-details.</p> + <div role='group' id='test' aria-details='details'>content</div> + <div id='details'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-disabled_false-manual.html b/testing/web-platform/tests/core-aam/aria-disabled_false-manual.html new file mode 100644 index 0000000000..ec908468c3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-disabled_false-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-disabled=false</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", + "states", + "contains", + "STATE_ENABLED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXEnabled", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_UNAVAILABLE" + ] + ], + "UIA" : [ + [ + "property", + "IsEnabled", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-disabled=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-disabled=false.</p> + <div role='button' id='test' aria-disabled='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-disabled_true-manual.html b/testing/web-platform/tests/core-aam/aria-disabled_true-manual.html new file mode 100644 index 0000000000..f373faff37 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-disabled_true-manual.html @@ -0,0 +1,87 @@ +<!doctype html> +<html> + <head> + <title>aria-disabled=true</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", + "states", + "doesNotContain", + "STATE_ENABLED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXEnabled", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_UNAVAILABLE" + ] + ], + "UIA" : [ + [ + "property", + "IsEnabled", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "checkbox", + "test" : { + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_UNAVAILABLE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-disabled=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-disabled=true.</p> + <div role='group' id='test' aria-disabled='true'> + <div role='checkbox' id='checkbox' tabindex='0'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-disabled_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-disabled_value_changes-manual.html new file mode 100644 index 0000000000..41236f106c --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-disabled_value_changes-manual.html @@ -0,0 +1,79 @@ +<!doctype html> +<html> + <head> + <title>aria-disabled value changes</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" : [ + { + "attribute" : "aria-disabled", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:enabled" + ], + [ + "event", + "detail1", + "is", + "0" + ], + [ + "event", + "type", + "is", + "object:state-changed:sensitive" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-disabled value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-disabled value changes.</p> + <div role='checkbox' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-dropeffect_copy-manual.html b/testing/web-platform/tests/core-aam/aria-dropeffect_copy-manual.html new file mode 100644 index 0000000000..6122d126fc --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-dropeffect_copy-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-dropeffect=copy</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", + "objectAttributes", + "contains", + "dropeffect:copy" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDropEffects", + "is", + "[copy]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "dropeffect:copy" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.dropeffect", + "is", + "copy" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-dropeffect=copy" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-dropeffect=copy.</p> + <div role='group' id='test' aria-dropeffect='copy'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-dropeffect_execute-manual.html b/testing/web-platform/tests/core-aam/aria-dropeffect_execute-manual.html new file mode 100644 index 0000000000..54578f73da --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-dropeffect_execute-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-dropeffect=execute</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", + "objectAttributes", + "contains", + "dropeffect:execute" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDropEffects", + "is", + "[execute]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "dropeffect:execute" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.dropeffect", + "is", + "execute" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-dropeffect=execute" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-dropeffect=execute.</p> + <div role='group' id='test' aria-dropeffect='execute'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-dropeffect_link-manual.html b/testing/web-platform/tests/core-aam/aria-dropeffect_link-manual.html new file mode 100644 index 0000000000..1dd86a30f7 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-dropeffect_link-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-dropeffect=link</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", + "objectAttributes", + "contains", + "dropeffect:link" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDropEffects", + "is", + "[link]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "dropeffect:link" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.dropeffect", + "is", + "link" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-dropeffect=link" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-dropeffect=link.</p> + <div role='group' id='test' aria-dropeffect='link'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-dropeffect_move-manual.html b/testing/web-platform/tests/core-aam/aria-dropeffect_move-manual.html new file mode 100644 index 0000000000..eeee18e680 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-dropeffect_move-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-dropeffect=move</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", + "objectAttributes", + "contains", + "dropeffect:move" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDropEffects", + "is", + "[move]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "dropeffect:move" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.dropeffect", + "is", + "move" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-dropeffect=move" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-dropeffect=move.</p> + <div role='group' id='test' aria-dropeffect='move'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-dropeffect_none-manual.html b/testing/web-platform/tests/core-aam/aria-dropeffect_none-manual.html new file mode 100644 index 0000000000..344349c8bd --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-dropeffect_none-manual.html @@ -0,0 +1,54 @@ +<!doctype html> +<html> + <head> + <title>aria-dropeffect=none</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", + "objectAttributes", + "contains", + "dropeffect:none" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "dropeffect:none" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-dropeffect=none" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-dropeffect=none.</p> + <div role='group' id='test' aria-dropeffect='none'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-dropeffect_popup-manual.html b/testing/web-platform/tests/core-aam/aria-dropeffect_popup-manual.html new file mode 100644 index 0000000000..2e00ae2827 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-dropeffect_popup-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-dropeffect=popup</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", + "objectAttributes", + "contains", + "dropeffect:popup" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDropEffects", + "is", + "[popup]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "dropeffect:popup" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.dropeffect", + "is", + "popup" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-dropeffect=popup" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-dropeffect=popup.</p> + <div role='group' id='test' aria-dropeffect='popup'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-dropeffect_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-dropeffect_value_changes-manual.html new file mode 100644 index 0000000000..6e623c0cb6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-dropeffect_value_changes-manual.html @@ -0,0 +1,61 @@ +<!doctype html> +<html> + <head> + <title>aria-dropeffect value changes</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" : [ + { + "attribute" : "aria-dropeffect", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "copy" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:property-change" + ] + ], + "IAccessible2" : [ + [ + "event", + "type", + "is", + "IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-dropeffect value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-dropeffect value changes.</p> + <div role='group' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-errormessage_aria-invalid_false-manual.html b/testing/web-platform/tests/core-aam/aria-errormessage_aria-invalid_false-manual.html new file mode 100644 index 0000000000..985a8213ec --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-errormessage_aria-invalid_false-manual.html @@ -0,0 +1,94 @@ +<!doctype html> +<html> + <head> + <title>aria-errormessage</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" : [ + [ + "relation", + "RELATION_ERROR_MESSAGE", + "isNot", + "[error]" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValidationError", + "isNot", + "hello world" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_ERROR", + "isNot", + "[error]" + ] + ], + "UIA" : [ + [ + "property", + "ControllerFor", + "isNot", + "error" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "error", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_ERROR_FOR", + "isNot", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_ERROR_FOR", + "isNot", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-errormessage" +} + + ) ; + </script> + </head> + <body> + <p>User agents must not expose aria-errormessage for an object with aria-invalid false.</p> + <div role='checkbox' id='test' aria-errormessage='error' aria-invalid='false'>content</div> + <div id='error'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-errormessage_aria-invalid_true-manual.html b/testing/web-platform/tests/core-aam/aria-errormessage_aria-invalid_true-manual.html new file mode 100644 index 0000000000..590a234c62 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-errormessage_aria-invalid_true-manual.html @@ -0,0 +1,94 @@ +<!doctype html> +<html> + <head> + <title>aria-errormessage</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" : [ + [ + "relation", + "RELATION_ERROR_MESSAGE", + "is", + "[error]" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValidationError", + "is", + "hello world" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_ERROR", + "is", + "[error]" + ] + ], + "UIA" : [ + [ + "property", + "ControllerFor", + "is", + "error" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "error", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_ERROR_FOR", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_ERROR_FOR", + "is", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-errormessage" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-errormessage.</p> + <div role='checkbox' id='test' aria-errormessage='error' aria-invalid='true'>content</div> + <div id='error'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_false-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_false-manual.html new file mode 100644 index 0000000000..256099868b --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_false-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=false</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_COLLAPSED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Collapsed" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=false.</p> + <div role='button' id='test' aria-expanded='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_alert-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_alert-manual.html new file mode 100644 index 0000000000..1317cc658f --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_alert-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on alert</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", + "states", + "doesNotContain", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "isNot", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on alert" +} + + ) ; + </script> + </head> + <body> + <p>This test examines exposure of aria-expanded on an alert.</p> + <div role='alert' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_banner-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_banner-manual.html new file mode 100644 index 0000000000..e1bf9cc7f4 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_banner-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on banner</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", + "states", + "doesNotContain", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "isNot", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on banner" +} + + ) ; + </script> + </head> + <body> + <p>This test examines exposure of aria-expanded on an banner.</p> + <div role='banner' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_dialog-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_dialog-manual.html new file mode 100644 index 0000000000..c7feeddf2b --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_dialog-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on dialog</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", + "states", + "doesNotContain", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "isNot", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on dialog" +} + + ) ; + </script> + </head> + <body> + <p>This test examines exposure of aria-expanded on an dialog.</p> + <div role='dialog' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_feed-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_feed-manual.html new file mode 100644 index 0000000000..e81f3e4949 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_feed-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on feed</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", + "states", + "doesNotContain", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "isNot", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on feed" +} + + ) ; + </script> + </head> + <body> + <p>This test examines exposure of aria-expanded on an feed.</p> + <div role='feed' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_form-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_form-manual.html new file mode 100644 index 0000000000..6b533da6f7 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_form-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on form</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", + "states", + "doesNotContain", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "isNot", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on form" +} + + ) ; + </script> + </head> + <body> + <p>This test examines exposure of aria-expanded on an form.</p> + <div role='form' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_group-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_group-manual.html new file mode 100644 index 0000000000..8deb17c2b2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_not_supported_on_group-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on group</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", + "states", + "doesNotContain", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "isNot", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on group" +} + + ) ; + </script> + </head> + <body> + <p>This test examines exposure of aria-expanded on an group.</p> + <div role='group' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_true-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_true-manual.html new file mode 100644 index 0000000000..30f0c6a0f5 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_true-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Expanded" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=true.</p> + <div role='button' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_true_on_application-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_true_on_application-manual.html new file mode 100644 index 0000000000..3e5544da2a --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_true_on_application-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on application</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Expanded" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on application" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=true on an application.</p> + <div role='application' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_true_on_checkbox-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_true_on_checkbox-manual.html new file mode 100644 index 0000000000..c275924f5a --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_true_on_checkbox-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on checkbox</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Expanded" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on checkbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=true on a checkbox.</p> + <div role='checkbox' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitem-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitem-manual.html new file mode 100644 index 0000000000..5c2b121ac9 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitem-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on menuitem</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Expanded" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on menuitem" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=true on a menuitem.</p> + <div role='menu'> + <div role='menuitem' id='test' aria-expanded='true'>content</div> + </div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitemcheckbox-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitemcheckbox-manual.html new file mode 100644 index 0000000000..9bd63cd7bf --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitemcheckbox-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on menuitemcheckbox</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Expanded" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on menuitemcheckbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=true on a menuitemcheckbox.</p> + <div role='menu'> + <div role='menuitemcheckbox' id='test' aria-expanded='true'>content</div> + </div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitemradio-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitemradio-manual.html new file mode 100644 index 0000000000..cdcb001dd0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_true_on_menuitemradio-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on menuitemradio</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Expanded" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on menuitemradio" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=true on a menuitemradio.</p> + <div role='menu'> + <div role='menuitemradio' id='test' aria-expanded='true'>content</div> + </div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_true_on_switch-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_true_on_switch-manual.html new file mode 100644 index 0000000000..d622c0ccbd --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_true_on_switch-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded=true on switch</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", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXExpanded", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXPANDED" + ] + ], + "UIA" : [ + [ + "property", + "ExpandCollapse.ExpandCollapseState", + "is", + "Expanded" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-expanded=true on switch" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded=true on a switch.</p> + <div role='switch' id='test' aria-expanded='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-expanded_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-expanded_value_changes-manual.html new file mode 100644 index 0000000000..25022ba504 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-expanded_value_changes-manual.html @@ -0,0 +1,152 @@ +<!doctype html> +<html> + <head> + <title>aria-expanded value changes</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" : [ + { + "attribute" : "aria-expanded", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:expanded" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXRowExpanded" + ], + [ + "event", + "type", + "is", + "AXRowCountChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "ExpandCollapsePattern.ExpandCollapseStateProperty" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-expanded", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:expanded" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXRowCollapsed" + ], + [ + "event", + "type", + "is", + "AXRowCountChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "ExpandCollapsePattern.ExpandCollapseStateProperty" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-expanded value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-expanded value changes.</p> + <div role='menu'> + <div role='menuitem' id='test'>content + <div role='menu'><div role='menuitem'>content</div></div> + </div> + </div> + </div>then emit the platform accessibility events for changes to the value of aria-expanded. + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-flowto-manual.html b/testing/web-platform/tests/core-aam/aria-flowto-manual.html new file mode 100644 index 0000000000..0902551df7 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-flowto-manual.html @@ -0,0 +1,94 @@ +<!doctype html> +<html> + <head> + <title>aria-flowto</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" : [ + [ + "relation", + "RELATION_FLOWS_TO", + "is", + "[next]" + ] + ], + "AXAPI" : [ + [ + "property", + "AXLinkedUIElements", + "is", + "[next]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_FLOWS_TO", + "is", + "[next]" + ] + ], + "UIA" : [ + [ + "property", + "FlowsTo", + "is", + "[next]" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "next", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_FLOWS_FROM", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_FLOWS_FROM", + "is", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-flowto" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-flowto.</p> + <div role='group' id='test' aria-flowto='next'>content</div> + <div role='group' id='next'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-grabbed_false-manual.html b/testing/web-platform/tests/core-aam/aria-grabbed_false-manual.html new file mode 100644 index 0000000000..7b6404c234 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-grabbed_false-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-grabbed=false</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", + "objectAttributes", + "contains", + "grabbed:false" + ] + ], + "AXAPI" : [ + [ + "property", + "AXGrabbed", + "is", + "NO" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "grabbed:false" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.grabbed", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-grabbed=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-grabbed=false.</p> + <div role='group' id='test' aria-grabbed='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-grabbed_true-manual.html b/testing/web-platform/tests/core-aam/aria-grabbed_true-manual.html new file mode 100644 index 0000000000..5ef11ce286 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-grabbed_true-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-grabbed=true</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", + "objectAttributes", + "contains", + "grabbed:true" + ] + ], + "AXAPI" : [ + [ + "property", + "AXGrabbed", + "is", + "YES" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "grabbed:true" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.grabbed", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-grabbed=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-grabbed=true.</p> + <div role='group' id='test' aria-grabbed='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-grabbed_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-grabbed_value_changes-manual.html new file mode 100644 index 0000000000..795a0e88c5 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-grabbed_value_changes-manual.html @@ -0,0 +1,69 @@ +<!doctype html> +<html> + <head> + <title>aria-grabbed value changes</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" : [ + { + "attribute" : "aria-grabbed", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:property-change" + ] + ], + "IAccessible2" : [ + [ + "event", + "type", + "is", + "IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_SELECTION" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-grabbed value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-grabbed value changes.</p> + <div role='group' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-haspopup_dialog-manual.html b/testing/web-platform/tests/core-aam/aria-haspopup_dialog-manual.html new file mode 100644 index 0000000000..659b9bf376 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-haspopup_dialog-manual.html @@ -0,0 +1,90 @@ +<!doctype html> +<html> + <head> + <title>aria-haspopup=dialog</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", + "states", + "contains", + "STATE_HAS_POPUP" + ], + [ + "property", + "objectAttributes", + "contains", + "haspopup:dialog" + ] + ], + "AXAPI" : [ + [ + "property", + "actions", + "contains", + "AXShowMenu" + ], + [ + "property", + "actions", + "doesNotContain", + "AXPress" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "haspopup:dialog" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_HASPOPUP" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "is", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-haspopup=dialog" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-haspopup=dialog.</p> + <div role='button' id='test' aria-haspopup='dialog'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-haspopup_false-manual.html b/testing/web-platform/tests/core-aam/aria-haspopup_false-manual.html new file mode 100644 index 0000000000..e940f6148f --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-haspopup_false-manual.html @@ -0,0 +1,62 @@ +<!doctype html> +<html> + <head> + <title>aria-haspopup=false</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", + "states", + "doesNotContain", + "STATE_HAS_POPUP" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "haspopup:false" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_HASPOPUP" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-haspopup=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-haspopup=false.</p> + <div role='button' id='test' aria-haspopup='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-haspopup_listbox-manual.html b/testing/web-platform/tests/core-aam/aria-haspopup_listbox-manual.html new file mode 100644 index 0000000000..0ebc1bbb26 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-haspopup_listbox-manual.html @@ -0,0 +1,90 @@ +<!doctype html> +<html> + <head> + <title>aria-haspopup=listbox NEW</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", + "states", + "contains", + "STATE_HAS_POPUP" + ], + [ + "property", + "objectAttributes", + "contains", + "haspopup:listbox" + ] + ], + "AXAPI" : [ + [ + "property", + "actions", + "contains", + "AXShowMenu" + ], + [ + "property", + "actions", + "doesNotContain", + "AXPress" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "haspopup:listbox" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_HASPOPUP" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "is", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-haspopup=listbox NEW" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-haspopup=listbox NEW.</p> + <div role='button' id='test' aria-haspopup='listbox'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-haspopup_menu-manual.html b/testing/web-platform/tests/core-aam/aria-haspopup_menu-manual.html new file mode 100644 index 0000000000..d9a203a877 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-haspopup_menu-manual.html @@ -0,0 +1,90 @@ +<!doctype html> +<html> + <head> + <title>aria-haspopup=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", + "states", + "contains", + "STATE_HAS_POPUP" + ], + [ + "property", + "objectAttributes", + "contains", + "haspopup:menu" + ] + ], + "AXAPI" : [ + [ + "property", + "actions", + "contains", + "AXShowMenu" + ], + [ + "property", + "actions", + "doesNotContain", + "AXPress" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "haspopup:menu" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_HASPOPUP" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "is", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-haspopup=menu" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-haspopup=menu.</p> + <div role='button' id='test' aria-haspopup='menu'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-haspopup_tree-manual.html b/testing/web-platform/tests/core-aam/aria-haspopup_tree-manual.html new file mode 100644 index 0000000000..41de64f47a --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-haspopup_tree-manual.html @@ -0,0 +1,90 @@ +<!doctype html> +<html> + <head> + <title>aria-haspopup=tree</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", + "states", + "contains", + "STATE_HAS_POPUP" + ], + [ + "property", + "objectAttributes", + "contains", + "haspopup:tree" + ] + ], + "AXAPI" : [ + [ + "property", + "actions", + "contains", + "AXShowMenu" + ], + [ + "property", + "actions", + "doesNotContain", + "AXPress" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "haspopup:tree" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_HASPOPUP" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "is", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-haspopup=tree" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-haspopup=tree.</p> + <div role='button' id='test' aria-haspopup='tree'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-haspopup_true-manual.html b/testing/web-platform/tests/core-aam/aria-haspopup_true-manual.html new file mode 100644 index 0000000000..b9e046cdd7 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-haspopup_true-manual.html @@ -0,0 +1,90 @@ +<!doctype html> +<html> + <head> + <title>aria-haspopup=true</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", + "states", + "contains", + "STATE_HAS_POPUP" + ], + [ + "property", + "objectAttributes", + "contains", + "haspopup:true" + ] + ], + "AXAPI" : [ + [ + "property", + "actions", + "contains", + "AXShowMenu" + ], + [ + "property", + "actions", + "doesNotContain", + "AXPress" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "haspopup:true" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_HASPOPUP" + ] + ], + "UIA" : [ + [ + "property", + "Control Pattern", + "is", + "ExpandCollapse" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-haspopup=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-haspopup=true.</p> + <div role='button' id='test' aria-haspopup='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-hidden_true-manual.html b/testing/web-platform/tests/core-aam/aria-hidden_true-manual.html new file mode 100644 index 0000000000..fd597f337b --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-hidden_true-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-hidden=true</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", + "accessible", + "is", + "false" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-hidden=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-hidden=true.</p> + <div id='test' aria-hidden='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-hidden_true_when_element_is_focused_or_fires_event-manual.html b/testing/web-platform/tests/core-aam/aria-hidden_true_when_element_is_focused_or_fires_event-manual.html new file mode 100644 index 0000000000..5cca7096b2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-hidden_true_when_element_is_focused_or_fires_event-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-hidden=true when element is focused or fires event</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", + "event" : "focus", + "title" : "step 1", + "type" : "event" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-hidden=true when element is focused or fires event" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-hidden=true when element is focused or fires event.</p> + <div id='test' aria-hidden='true' tabindex='0'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-invalid_false-manual.html b/testing/web-platform/tests/core-aam/aria-invalid_false-manual.html new file mode 100644 index 0000000000..b48e419344 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-invalid_false-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-invalid=false</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", + "states", + "doesNotContain", + "STATE_INVALID_ENTRY" + ] + ], + "AXAPI" : [ + [ + "property", + "AXInvalid", + "is", + "false" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "doesNotContain", + "IA2_STATE_INVALID_ENTRY" + ] + ], + "UIA" : [ + [ + "property", + "IsDataValidForForm", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-invalid=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-invalid=false.</p> + <div role='textbox' id='test' aria-invalid='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-invalid_grammar-manual.html b/testing/web-platform/tests/core-aam/aria-invalid_grammar-manual.html new file mode 100644 index 0000000000..b6a18f965d --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-invalid_grammar-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>aria-invalid=grammar</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", + "states", + "contains", + "STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:grammar" + ] + ], + "AXAPI" : [ + [ + "property", + "AXInvalid", + "is", + "grammar" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:grammar" + ] + ], + "UIA" : [ + [ + "property", + "IsDataValidForForm", + "is", + "grammar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-invalid=grammar" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-invalid=grammar.</p> + <div role='textbox' id='test' aria-invalid='grammar'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-invalid_spelling-manual.html b/testing/web-platform/tests/core-aam/aria-invalid_spelling-manual.html new file mode 100644 index 0000000000..e915c582aa --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-invalid_spelling-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>aria-invalid=spelling</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", + "states", + "contains", + "STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:spelling" + ] + ], + "AXAPI" : [ + [ + "property", + "AXInvalid", + "is", + "spelling" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:spelling" + ] + ], + "UIA" : [ + [ + "property", + "IsDataValidForForm", + "is", + "spelling" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-invalid=spelling" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-invalid=spelling.</p> + <div role='textbox' id='test' aria-invalid='spelling'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-invalid_true-manual.html b/testing/web-platform/tests/core-aam/aria-invalid_true-manual.html new file mode 100644 index 0000000000..a64befd9f7 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-invalid_true-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>aria-invalid=true</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", + "states", + "contains", + "STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:true" + ] + ], + "AXAPI" : [ + [ + "property", + "AXInvalid", + "is", + "true" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:true" + ] + ], + "UIA" : [ + [ + "property", + "IsDataValidForForm", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-invalid=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-invalid=true.</p> + <div role='textbox' id='test' aria-invalid='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-invalid_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-invalid_value_changes-manual.html new file mode 100644 index 0000000000..c34109f2cd --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-invalid_value_changes-manual.html @@ -0,0 +1,119 @@ +<!doctype html> +<html> + <head> + <title>aria-invalid value changes</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" : [ + { + "attribute" : "aria-invalid", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:invalid-entry" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXInvalidStatusChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-invalid", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:invalid-entry" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXInvalidStatusChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-invalid value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-invalid value changes.</p> + <div role='textbox' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-invalid_with_unrecognized_value-manual.html b/testing/web-platform/tests/core-aam/aria-invalid_with_unrecognized_value-manual.html new file mode 100644 index 0000000000..49fd59822b --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-invalid_with_unrecognized_value-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>aria-invalid with unrecognized value</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", + "states", + "contains", + "STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:true" + ] + ], + "AXAPI" : [ + [ + "property", + "AXInvalid", + "is", + "true" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_INVALID_ENTRY" + ], + [ + "property", + "textAttributes", + "contains", + "invalid:true" + ] + ], + "UIA" : [ + [ + "property", + "IsDataValidForForm", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-invalid with unrecognized value" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-invalid with unrecognized value.</p> + <div role='textbox' id='test' aria-invalid='foo'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-keyshortcuts-manual.html b/testing/web-platform/tests/core-aam/aria-keyshortcuts-manual.html new file mode 100644 index 0000000000..5d071cb82d --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-keyshortcuts-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-keyshortcuts</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", + "objectAttributes", + "contains", + "keyshortcuts:Shift+Space" + ] + ], + "AXAPI" : [ + [ + "property", + "AXKeyShortcutsValue", + "is", + "Shift+Space" + ] + ], + "IAccessible2" : [ + [ + "property", + "accKeyboardShortcut", + "is", + "Shift+Space" + ] + ], + "UIA" : [ + [ + "property", + "AcceleratorKey", + "is", + "Shift+Space" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-keyshortcuts" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-keyshortcuts.</p> + <div role='group' id='test' aria-keyshortcuts='Shift+Space'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-label-manual.html b/testing/web-platform/tests/core-aam/aria-label-manual.html new file mode 100644 index 0000000000..ec3fa2593e --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-label-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-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", + "hello world" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "hello world" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "hello world" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "hello world" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-label" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-label.</p> + <div role='group' id='test' aria-label='hello world'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-labelledby-manual.html b/testing/web-platform/tests/core-aam/aria-labelledby-manual.html new file mode 100644 index 0000000000..8e1446931b --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-labelledby-manual.html @@ -0,0 +1,118 @@ +<!doctype html> +<html> + <head> + <title>aria-labelledby</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", + "hello world" + ], + [ + "relation", + "RELATION_LABELLED_BY", + "is", + "[label]" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDescription", + "is", + "hello world" + ], + [ + "property", + "AXTitleUIElement", + "is", + "label" + ] + ], + "IAccessible2" : [ + [ + "property", + "accName", + "is", + "hello world" + ], + [ + "relation", + "IA2_RELATION_LABELLED_BY", + "is", + "[label]" + ] + ], + "UIA" : [ + [ + "property", + "Name", + "is", + "hello world" + ], + [ + "property", + "LabeledBy", + "is", + "[label]" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "label", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_LABEL_FOR", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_LABEL_FOR", + "is", + "[test]" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-labelledby" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-labelledby.</p> + <div role='group' id='test' aria-labelledby='label'>content</div> + <div id='label'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-level_on_heading-manual.html b/testing/web-platform/tests/core-aam/aria-level_on_heading-manual.html new file mode 100644 index 0000000000..92afe8e1f9 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-level_on_heading-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-level on heading</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", + "objectAttributes", + "contains", + "level:2" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "level:2" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.level", + "is", + "2" + ], + [ + "property", + "StyleId_Heading", + "is", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-level on heading" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-level on heading.</p> + <div role='heading' id='test' aria-level='2'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-level_on_non-heading-manual.html b/testing/web-platform/tests/core-aam/aria-level_on_non-heading-manual.html new file mode 100644 index 0000000000..0dbcf0e843 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-level_on_non-heading-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>aria-level on non-heading</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", + "objectAttributes", + "contains", + "level:5" + ] + ], + "AXAPI" : [ + [ + "property", + "AXDisclosureLevel", + "is", + "4" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "level:5" + ], + [ + "property", + "groupPosition", + "contains", + "groupLevel:5" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.level", + "is", + "5" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-level on non-heading" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-level on non-heading.</p> + <div role='tree'> + <div role='treeitem' id='test' aria-level='5'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-live_assertive-manual.html b/testing/web-platform/tests/core-aam/aria-live_assertive-manual.html new file mode 100644 index 0000000000..1f46482bb2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-live_assertive-manual.html @@ -0,0 +1,107 @@ +<!doctype html> +<html> + <head> + <title>aria-live=assertive</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", + "objectAttributes", + "contains", + "live:assertive" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:assertive" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIALive", + "is", + "assertive" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "live:assertive" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:assertive" + ] + ], + "UIA" : [ + [ + "property", + "LiveSetting", + "is", + "assertive" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "ATK" : [ + [ + "property", + "objectAttributes", + "contains", + "container-live:assertive" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "container-live:assertive" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-live=assertive" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-live=assertive.</p> + <div role='group' id='test' aria-live='assertive'> + <div role='group' id='child'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-live_off-manual.html b/testing/web-platform/tests/core-aam/aria-live_off-manual.html new file mode 100644 index 0000000000..6badb3fbe3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-live_off-manual.html @@ -0,0 +1,107 @@ +<!doctype html> +<html> + <head> + <title>aria-live=off</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", + "objectAttributes", + "contains", + "live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIALive", + "is", + "off" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ] + ], + "UIA" : [ + [ + "property", + "LiveSetting", + "is", + "off" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "ATK" : [ + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-live=off" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-live=off.</p> + <div role='group' id='test' aria-live='off'> + <div role='group' id='child'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-live_polite-manual.html b/testing/web-platform/tests/core-aam/aria-live_polite-manual.html new file mode 100644 index 0000000000..77d2563dbf --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-live_polite-manual.html @@ -0,0 +1,107 @@ +<!doctype html> +<html> + <head> + <title>aria-live=polite</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", + "objectAttributes", + "contains", + "live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIALive", + "is", + "polite" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ] + ], + "UIA" : [ + [ + "property", + "LiveSetting", + "is", + "polite" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "ATK" : [ + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-live=polite" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-live=polite.</p> + <div role='group' id='test' aria-live='polite'> + <div role='group' id='child'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-modal_false-manual.html b/testing/web-platform/tests/core-aam/aria-modal_false-manual.html new file mode 100644 index 0000000000..87155d42a2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-modal_false-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>aria-modal=false</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", + "states", + "doesNotContain", + "STATE_MODAL" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "doesNotContain", + "IA2_STATE_MODAL" + ] + ], + "UIA" : [ + [ + "property", + "Window.IsModal", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "group", + "test" : { + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-modal=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-modal=false.</p> + <div role='group' id='group'>content</div> + <div role='dialog' id='test' aria-modal='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-modal_true-manual.html b/testing/web-platform/tests/core-aam/aria-modal_true-manual.html new file mode 100644 index 0000000000..d6634b8651 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-modal_true-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>aria-modal=true</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", + "states", + "contains", + "STATE_MODAL" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_MODAL" + ] + ], + "UIA" : [ + [ + "property", + "Window.IsModal", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "group", + "test" : { + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-modal=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-modal=true.</p> + <div role='group' id='group'>content</div> + <div role='dialog' id='test' aria-modal='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-multiline_false-manual.html b/testing/web-platform/tests/core-aam/aria-multiline_false-manual.html new file mode 100644 index 0000000000..32f384c07c --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-multiline_false-manual.html @@ -0,0 +1,66 @@ +<!doctype html> +<html> + <head> + <title>aria-multiline=false</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", + "states", + "contains", + "STATE_SINGLE_LINE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_MULTI_LINE" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_SINGLE_LINE" + ], + [ + "property", + "states", + "doesNotContain", + "IA2_STATE_MULTI_LINE" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-multiline=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-multiline=false.</p> + <div role='textbox' id='test' aria-multiline='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-multiline_true-manual.html b/testing/web-platform/tests/core-aam/aria-multiline_true-manual.html new file mode 100644 index 0000000000..92a5a3f30b --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-multiline_true-manual.html @@ -0,0 +1,74 @@ +<!doctype html> +<html> + <head> + <title>aria-multiline=true</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", + "states", + "contains", + "STATE_MULTI_LINE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_SINGLE_LINE" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_MULTI_LINE" + ], + [ + "property", + "states", + "doesNotContain", + "IA2_STATE_SINGLE_LINE" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.multiline", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-multiline=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-multiline=true.</p> + <div role='textbox' id='test' aria-multiline='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-multiselectable_false-manual.html b/testing/web-platform/tests/core-aam/aria-multiselectable_false-manual.html new file mode 100644 index 0000000000..724ea0f2e3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-multiselectable_false-manual.html @@ -0,0 +1,64 @@ +<!doctype html> +<html> + <head> + <title>aria-multiselectable=false</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", + "states", + "doesNotContain", + "STATE_MULTISELECTABLE" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_MULTISELECTABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_EXTSELECTABLE" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-multiselectable=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-multiselectable=false.</p> + <div role='grid' id='test' aria-multiselectable='false'> + <div role='row'> + <div role='cell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-multiselectable_true-manual.html b/testing/web-platform/tests/core-aam/aria-multiselectable_true-manual.html new file mode 100644 index 0000000000..75dbe2b62a --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-multiselectable_true-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>aria-multiselectable=true</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", + "states", + "contains", + "STATE_MULTISELECTABLE" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_MULTISELECTABLE" + ], + [ + "property", + "states", + "contains", + "STATE_SYSTEM_EXTSELECTABLE" + ] + ], + "UIA" : [ + [ + "property", + "Selection.CanSelectMultiple", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-multiselectable=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-multiselectable=true.</p> + <div role='grid' id='test' aria-multiselectable='true'> + <div role='row'> + <div role='cell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-orientation_horizontal-manual.html b/testing/web-platform/tests/core-aam/aria-orientation_horizontal-manual.html new file mode 100644 index 0000000000..903b4a5684 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-orientation_horizontal-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>aria-orientation=horizontal</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", + "states", + "contains", + "STATE_HORIZONTAL" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_VERTICAL" + ] + ], + "AXAPI" : [ + [ + "property", + "AXOrientation", + "is", + "AXHorizontalOrientation" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_HORIZONTAL" + ], + [ + "property", + "states", + "doesNotContain", + "IA2_STATE_VERTICAL" + ] + ], + "UIA" : [ + [ + "property", + "Orientation", + "is", + "horizontal" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-orientation=horizontal" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-orientation=horizontal.</p> + <div role='scrollbar' id='test' aria-orientation='horizontal'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-orientation_undefined-manual.html b/testing/web-platform/tests/core-aam/aria-orientation_undefined-manual.html new file mode 100644 index 0000000000..21a7e16952 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-orientation_undefined-manual.html @@ -0,0 +1,60 @@ +<!doctype html> +<html> + <head> + <title>aria-orientation=undefined</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", + "states", + "doesNotContain", + "STATE_VERTICAL" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_HORIZONTAL" + ] + ], + "AXAPI" : [ + [ + "property", + "AXOrientation", + "is", + "AXUnknownOrientation" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-orientation=undefined" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-orientation=undefined.</p> + <div role='radiogroup' id='test' aria-orientation='undefined'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-orientation_vertical-manual.html b/testing/web-platform/tests/core-aam/aria-orientation_vertical-manual.html new file mode 100644 index 0000000000..53a4e490b4 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-orientation_vertical-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>aria-orientation=vertical</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", + "states", + "contains", + "STATE_VERTICAL" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_HORIZONTAL" + ] + ], + "AXAPI" : [ + [ + "property", + "AXOrientation", + "is", + "AXVerticalOrientation" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_VERTICAL" + ], + [ + "property", + "states", + "doesNotContain", + "IA2_STATE_HORIZONTAL" + ] + ], + "UIA" : [ + [ + "property", + "Orientation", + "is", + "vertical" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-orientation=vertical" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-orientation=vertical.</p> + <div role='scrollbar' id='test' aria-orientation='vertical'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-owns_may_need_manual_verification-manual.html b/testing/web-platform/tests/core-aam/aria-owns_may_need_manual_verification-manual.html new file mode 100644 index 0000000000..3a02f4aa9f --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-owns_may_need_manual_verification-manual.html @@ -0,0 +1,134 @@ +<!doctype html> +<html> + <head> + <title>aria-owns may need manual verification</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" : [ + [ + "relation", + "RELATION_NODE_PARENT_OF", + "is", + "[owned1, owned2]" + ] + ], + "AXAPI" : [ + [ + "property", + "AXOwns", + "is", + "[owned1, owned2]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_NODE_PARENT_OF", + "is", + "[owned1, owned2]" + ] + ], + "UIA" : [ + [ + "property", + "Children", + "is", + "[owned1, owned2]" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "owned1", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_NODE_CHILD_OF", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_NODE_CHILD_OF", + "is", + "[test]" + ] + ], + "UIA" : [ + [ + "property", + "Parent", + "is", + "test" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "element" : "owned2", + "test" : { + "ATK" : [ + [ + "relation", + "RELATION_NODE_CHILD_OF", + "is", + "[test]" + ] + ], + "IAccessible2" : [ + [ + "relation", + "IA2_RELATION_NODE_CHILD_OF", + "is", + "[test]" + ] + ], + "UIA" : [ + [ + "property", + "Parent", + "is", + "test" + ] + ] + }, + "title" : "step 3", + "type" : "test" + } + ], + "title" : "aria-owns may need manual verification" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-owns may need manual verification.</p> + <div role='group' id='test' aria-owns='owned1 owned2'>content</div> + <div role='group' id='owned1'>content</div> + <div role='group' id='owned2'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-placeholder-manual.html b/testing/web-platform/tests/core-aam/aria-placeholder-manual.html new file mode 100644 index 0000000000..c646eaadd1 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-placeholder-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-placeholder</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", + "objectAttributes", + "contains", + "placeholder-text:hello world" + ] + ], + "AXAPI" : [ + [ + "property", + "AXPlaceholderValue", + "is", + "hello world" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "placeholder-text:hello world" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.placeholder", + "is", + "hello world" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-placeholder" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-placeholder.</p> + <div role='textbox' id='test' aria-placeholder='hello world'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-posinset-manual.html b/testing/web-platform/tests/core-aam/aria-posinset-manual.html new file mode 100644 index 0000000000..d72b97ff41 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-posinset-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>aria-posinset</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", + "objectAttributes", + "contains", + "posinset:2" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIAPosInSet", + "is", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "posinset:2" + ], + [ + "property", + "groupPosition", + "contains", + "positionInGroup:2" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.posinset", + "is", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-posinset" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-posinset.</p> + <div role='list'> + <div role='listitem' id='test' aria-posinset='2'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-posinset_and_aria-setsize_on_treegrid_row-manual.html b/testing/web-platform/tests/core-aam/aria-posinset_and_aria-setsize_on_treegrid_row-manual.html new file mode 100644 index 0000000000..c752075aba --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-posinset_and_aria-setsize_on_treegrid_row-manual.html @@ -0,0 +1,110 @@ +<!doctype html> +<html> + <head> + <title>aria-posinset and aria-setsize on treegrid row</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", + "objectAttributes", + "contains", + "posinset:2" + ], + [ + "property", + "objectAttributes", + "contains", + "setsize:100" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIAPosInSet", + "is", + "2" + ], + [ + "property", + "AXARIASetSize", + "is", + "100" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "posinset:2" + ], + [ + "property", + "groupPosition", + "contains", + "positionInGroup:2" + ], + [ + "property", + "objectAttributes", + "contains", + "setsize:100" + ], + [ + "property", + "groupPosition", + "contains", + "similarItemsInGroup:100" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.posinset", + "is", + "2" + ], + [ + "property", + "AriaProperties.setsize", + "is", + "100" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-posinset and aria-setsize on treegrid row" +} + + ) ; + </script> + </head> + <body> + <p>This test examines exposure of aria-posinset and aria-setsize on treegrid row</p> + <div role='treegrid'> + <div role='row' id='test' aria-posinset='2' aria-setsize='100'> + <div role='cell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-pressed_false-manual.html b/testing/web-platform/tests/core-aam/aria-pressed_false-manual.html new file mode 100644 index 0000000000..30878971f1 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-pressed_false-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-pressed=false</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", + "states", + "doesNotContain", + "STATE_PRESSED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "0" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_PRESSED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "Off (3)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-pressed=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-pressed=false.</p> + <div role='button' id='test' aria-pressed='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-pressed_mixed-manual.html b/testing/web-platform/tests/core-aam/aria-pressed_mixed-manual.html new file mode 100644 index 0000000000..1bc5083dca --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-pressed_mixed-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-pressed=mixed</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", + "states", + "contains", + "STATE_INDETERMINATE" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "2" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_MIXED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "Indeterminate (2)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-pressed=mixed" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-pressed=mixed.</p> + <div role='button' id='test' aria-pressed='mixed'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-pressed_true-manual.html b/testing/web-platform/tests/core-aam/aria-pressed_true-manual.html new file mode 100644 index 0000000000..532c7f32f3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-pressed_true-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>aria-pressed=true</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", + "states", + "contains", + "STATE_PRESSED" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "checkable:true" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "1" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "doesNotContain", + "checkable:true" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_PRESSED" + ] + ], + "UIA" : [ + [ + "property", + "Toggle.ToggleState", + "is", + "On (1)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-pressed=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-pressed=true.</p> + <div role='button' id='test' aria-pressed='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-pressed_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-pressed_value_changes-manual.html new file mode 100644 index 0000000000..82f12b9ac6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-pressed_value_changes-manual.html @@ -0,0 +1,103 @@ +<!doctype html> +<html> + <head> + <title>aria-pressed value changes</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" : [ + { + "attribute" : "aria-pressed", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:pressed" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-pressed", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:pressed" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-pressed value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-pressed value changes.</p> + <div role='button' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-readonly_false-manual.html b/testing/web-platform/tests/core-aam/aria-readonly_false-manual.html new file mode 100644 index 0000000000..7be1a70e47 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-readonly_false-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>aria-readonly=false</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", + "states", + "doesNotContain", + "STATE_READ_ONLY" + ] + ], + "AXAPI" : [ + [ + "result", + "AXUIElementIsAttributeSettable(AXValue)", + "is", + "YES" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_EDITABLE" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_READONLY" + ] + ], + "UIA" : [ + [ + "property", + "Value.IsReadOnly", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-readonly=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-readonly=false.</p> + <div role='checkbox' id='test' aria-readonly='false'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-readonly_is_unspecified_on_gridcell-manual.html b/testing/web-platform/tests/core-aam/aria-readonly_is_unspecified_on_gridcell-manual.html new file mode 100644 index 0000000000..119bb42ac3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-readonly_is_unspecified_on_gridcell-manual.html @@ -0,0 +1,80 @@ +<!doctype html> +<html> + <head> + <title>aria-readonly is unspecified on gridcell</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", + "states", + "contains", + "STATE_READ_ONLY" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EDITABLE" + ] + ], + "AXAPI" : [ + [ + "result", + "AXUIElementIsAttributeSettable(AXValue)", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "UIA" : [ + [ + "property", + "Value.IsReadOnly", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-readonly is unspecified on gridcell" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-readonly is unspecified on gridcell.</p> + <div role='grid' aria-readonly='true'> + <div role='row'> + <div role='gridcell' id='test'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-readonly_true_on_checkbox-manual.html b/testing/web-platform/tests/core-aam/aria-readonly_true_on_checkbox-manual.html new file mode 100644 index 0000000000..d5999e1adc --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-readonly_true_on_checkbox-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-readonly=true on checkbox</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", + "states", + "contains", + "STATE_READ_ONLY" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_CHECKABLE" + ] + ], + "AXAPI" : [ + [ + "result", + "AXUIElementIsAttributeSettable(AXValue)", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "UIA" : [ + [ + "property", + "Value.IsReadOnly", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-readonly=true on checkbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-readonly=true on checkbox.</p> + <div role='checkbox' id='test' aria-readonly='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-readonly_true_on_radiogroup-manual.html b/testing/web-platform/tests/core-aam/aria-readonly_true_on_radiogroup-manual.html new file mode 100644 index 0000000000..ef976971ae --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-readonly_true_on_radiogroup-manual.html @@ -0,0 +1,87 @@ +<!doctype html> +<html> + <head> + <title>aria-readonly=true on radiogroup</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", + "states", + "contains", + "STATE_READ_ONLY" + ] + ], + "AXAPI" : [ + [ + "result", + "AXUIElementIsAttributeSettable(AXValue)", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "UIA" : [ + [ + "property", + "Value.IsReadOnly", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "radio", + "test" : { + "ATK" : [ + [ + "property", + "states", + "doesNotContain", + "STATE_CHECKABLE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-readonly=true on radiogroup" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-readonly=true on radiogroup.</p> + <div role='radiogroup' id='test' aria-readonly='true'> + <div role='radio' id='radio'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-readonly_true_on_textbox-manual.html b/testing/web-platform/tests/core-aam/aria-readonly_true_on_textbox-manual.html new file mode 100644 index 0000000000..0dabdd88fd --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-readonly_true_on_textbox-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-readonly=true on 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", + "states", + "contains", + "STATE_READ_ONLY" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_EDITABLE" + ] + ], + "AXAPI" : [ + [ + "result", + "AXUIElementIsAttributeSettable(AXValue)", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "UIA" : [ + [ + "property", + "Value.IsReadOnly", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-readonly=true on textbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-readonly=true on textbox.</p> + <div role='textbox' id='test' aria-readonly='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-readonly_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-readonly_value_changes-manual.html new file mode 100644 index 0000000000..8296d59965 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-readonly_value_changes-manual.html @@ -0,0 +1,103 @@ +<!doctype html> +<html> + <head> + <title>aria-readonly value changes</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" : [ + { + "attribute" : "aria-readonly", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:read-only" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-readonly", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:read-only" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-readonly value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-readonly value changes.</p> + <div role='textbox' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-relevant-manual.html b/testing/web-platform/tests/core-aam/aria-relevant-manual.html new file mode 100644 index 0000000000..c9ad1acc37 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-relevant-manual.html @@ -0,0 +1,107 @@ +<!doctype html> +<html> + <head> + <title>aria-relevant</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", + "objectAttributes", + "contains", + "relevant:additions" + ], + [ + "property", + "objectAttributes", + "contains", + "container-relevant:additions" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIARelevant", + "is", + "additions" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "relevant:additions" + ], + [ + "property", + "objectAttributes", + "contains", + "container-relevant:additions" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.relevant", + "is", + "additions" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "ATK" : [ + [ + "property", + "objectAttributes", + "contains", + "container-relevant:additions" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "container-relevant:additions" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-relevant" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-relevant.</p> + <div role='group' id='test' aria-relevant='additions' aria-live='polite'> + <div role='group' id='child'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-required_true-manual.html b/testing/web-platform/tests/core-aam/aria-required_true-manual.html new file mode 100644 index 0000000000..6b44ba40de --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-required_true-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>aria-required=true</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", + "states", + "contains", + "STATE_REQUIRED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRequired", + "is", + "YES" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_REQUIRED" + ] + ], + "UIA" : [ + [ + "property", + "IsRequiredForForm", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-required=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-required=true.</p> + <div role='combobox' id='test' aria-required='true'> + <div role='textbox'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-required_true_on_checkbox-manual.html b/testing/web-platform/tests/core-aam/aria-required_true_on_checkbox-manual.html new file mode 100644 index 0000000000..a39aca53c2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-required_true_on_checkbox-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-required=true on checkbox</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", + "states", + "contains", + "STATE_REQUIRED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRequired", + "is", + "YES" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_REQUIRED" + ] + ], + "UIA" : [ + [ + "property", + "IsRequiredForForm", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-required=true on checkbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-required=true on a checkbox.</p> + <div role='checkbox' id='test' aria-required='true'>checkbox</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-required_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-required_value_changes-manual.html new file mode 100644 index 0000000000..588b6cf3e6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-required_value_changes-manual.html @@ -0,0 +1,103 @@ +<!doctype html> +<html> + <head> + <title>aria-required value changes</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" : [ + { + "attribute" : "aria-required", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "true" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:required" + ], + [ + "event", + "detail1", + "is", + "1" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + }, + { + "attribute" : "aria-required", + "element" : "test", + "title" : "step 3", + "type" : "attribute", + "value" : "false" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:state-changed:required" + ], + [ + "event", + "detail1", + "is", + "0" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_STATECHANGE" + ] + ] + }, + "title" : "step 4", + "type" : "test" + } + ], + "title" : "aria-required value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-required value changes.</p> + <div role='textbox' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-roledescription-manual.html b/testing/web-platform/tests/core-aam/aria-roledescription-manual.html new file mode 100644 index 0000000000..2ba6b1790e --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-roledescription-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-roledescription</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", + "objectAttributes", + "contains", + "roledescription:hello world" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRoleDescription", + "is", + "hello world" + ] + ], + "IAccessible2" : [ + [ + "property", + "localizedExtendedRole", + "is", + "hello world" + ] + ], + "UIA" : [ + [ + "property", + "LocalizedControlType", + "is", + "hello world" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-roledescription" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-roledescription.</p> + <div role='group' id='test' aria-roledescription='hello world'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-roledescription_is_empty_or_whitespace_characters-manual.html b/testing/web-platform/tests/core-aam/aria-roledescription_is_empty_or_whitespace_characters-manual.html new file mode 100644 index 0000000000..71155627a0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-roledescription_is_empty_or_whitespace_characters-manual.html @@ -0,0 +1,54 @@ +<!doctype html> +<html> + <head> + <title>aria-roledescription is empty or whitespace characters</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" : { + "AXAPI" : [ + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "UIA" : [ + [ + "property", + "Localized ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-roledescription is empty or whitespace characters" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-roledescription is empty or whitespace characters.</p> + <div role='group' id='test' aria-roledescription=' '>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-rowcount-manual.html b/testing/web-platform/tests/core-aam/aria-rowcount-manual.html new file mode 100644 index 0000000000..de9eb96858 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-rowcount-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>aria-rowcount</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", + "objectAttributes", + "contains", + "rowcount:3" + ], + [ + "result", + "atk_table_get_n_rows()", + "is", + "1" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIARowCount", + "is", + "3" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "rowcount:3" + ] + ], + "UIA" : [ + [ + "property", + "Grid.RowCount", + "is", + "3" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "row", + "test" : { + "IAccessible2" : [ + [ + "property", + "groupPosition", + "contains", + "similarItemsInGroup:3" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-rowcount" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-rowcount.</p> + <div role='table' id='test' aria-rowcount='3'> + <div role='row' id='row'> + <div role='cell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-rowindex-manual.html b/testing/web-platform/tests/core-aam/aria-rowindex-manual.html new file mode 100644 index 0000000000..52c54fbda0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-rowindex-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>aria-rowindex</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", + "objectAttributes", + "contains", + "rowindex:3" + ], + [ + "result", + "atk_table_cell_get_position()", + "contains", + "row=0" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIARowIndex", + "is", + "3" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "rowindex:3" + ] + ], + "UIA" : [ + [ + "property", + "GridItem.Row", + "is", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "row", + "test" : { + "IAccessible2" : [ + [ + "property", + "groupPosition", + "contains", + "positionInGroup:3" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-rowindex" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-rowindex.</p> + <div role='grid'> + <div role='row' id='row'> + <div role='cell' id='test' aria-rowindex='3'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-rowspan-manual.html b/testing/web-platform/tests/core-aam/aria-rowspan-manual.html new file mode 100644 index 0000000000..e189e4d0aa --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-rowspan-manual.html @@ -0,0 +1,86 @@ +<!doctype html> +<html> + <head> + <title>aria-rowspan</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", + "objectAttributes", + "contains", + "rowspan:2" + ], + [ + "result", + "atk_table_cell_get_row_column_span()", + "contains", + "row_span=1" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRowIndexRange.length", + "is", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "rowspan:2" + ], + [ + "property", + "rowExtent", + "is", + "2" + ] + ], + "UIA" : [ + [ + "property", + "GridItem.RowSpan", + "is", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-rowspan" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-rowspan.</p> + <div role='grid'> + <div role='row'> + <div role='cell' id='test' aria-rowspan='2'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-selected_false-manual.html b/testing/web-platform/tests/core-aam/aria-selected_false-manual.html new file mode 100644 index 0000000000..b948ace427 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-selected_false-manual.html @@ -0,0 +1,86 @@ +<!doctype html> +<html> + <head> + <title>aria-selected=false</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", + "states", + "contains", + "STATE_SELECTABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_SELECTED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXSelected", + "is", + "NO" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_SELECTABLE" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_SYSTEM_SELECTED" + ] + ], + "UIA" : [ + [ + "property", + "SelectionItem.IsSelected", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-selected=false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-selected=false.</p> + <div role='grid'> + <div role='row'> + <div role='gridcell' id='test' aria-selected='false'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-selected_true-manual.html b/testing/web-platform/tests/core-aam/aria-selected_true-manual.html new file mode 100644 index 0000000000..a40ba05929 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-selected_true-manual.html @@ -0,0 +1,86 @@ +<!doctype html> +<html> + <head> + <title>aria-selected=true</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", + "states", + "contains", + "STATE_SELECTABLE" + ], + [ + "property", + "states", + "contains", + "STATE_SELECTED" + ] + ], + "AXAPI" : [ + [ + "property", + "AXSelected", + "is", + "YES" + ] + ], + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_SELECTABLE" + ], + [ + "property", + "states", + "contains", + "STATE_SYSTEM_SELECTED" + ] + ], + "UIA" : [ + [ + "property", + "SelectionItem.IsSelected", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-selected=true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-selected=true.</p> + <div role='grid'> + <div role='row'> + <div role='gridcell' id='test' aria-selected='true'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-setsize_-1-manual.html b/testing/web-platform/tests/core-aam/aria-setsize_-1-manual.html new file mode 100644 index 0000000000..f034eaafcd --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-setsize_-1-manual.html @@ -0,0 +1,79 @@ +<!doctype html> +<html> + <head> + <title>aria-setsize=-1</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", + "objectAttributes", + "contains", + "setsize:2" + ], + [ + "property", + "states", + "contains", + "STATE_INDETERMINATE" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIASetSize", + "is", + "-1" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "setsize:-1" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.setsize", + "is", + "-1" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-setsize=-1" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-setsize=-1.</p> + <div role='list'> + <div role='listitem' id='test' aria-setsize='-1'>content</div> + <div role='listitem' aria-setsize='-1'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-setsize_3-manual.html b/testing/web-platform/tests/core-aam/aria-setsize_3-manual.html new file mode 100644 index 0000000000..643821b74a --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-setsize_3-manual.html @@ -0,0 +1,79 @@ +<!doctype html> +<html> + <head> + <title>aria-setsize=3</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", + "objectAttributes", + "contains", + "setsize:3" + ], + [ + "property", + "states", + "doesNotContain", + "STATE_INDETERMINATE" + ] + ], + "AXAPI" : [ + [ + "property", + "AXARIASetSize", + "is", + "3" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "setsize:3" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.setsize", + "is", + "3" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-setsize=3" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-setsize=3.</p> + <div role='list'> + <div role='listitem' id='test' aria-setsize='3'>content</div> + <div role='listitem' aria-setsize='3'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-sort_ascending-manual.html b/testing/web-platform/tests/core-aam/aria-sort_ascending-manual.html new file mode 100644 index 0000000000..7194ba020a --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-sort_ascending-manual.html @@ -0,0 +1,80 @@ +<!doctype html> +<html> + <head> + <title>aria-sort=ascending</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", + "objectAttributes", + "contains", + "sort:ascending" + ] + ], + "AXAPI" : [ + [ + "property", + "AXSortDirection", + "is", + "AXAscendingSortDirection" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "sort:ascending" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.sort", + "is", + "ascending" + ], + [ + "property", + "ItemStatus", + "is", + "ascending" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-sort=ascending" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-sort=ascending.</p> + <div role='grid'> + <div role='row'> + <div role='columnheader' id='test' aria-sort='ascending'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-sort_descending-manual.html b/testing/web-platform/tests/core-aam/aria-sort_descending-manual.html new file mode 100644 index 0000000000..8bf419f626 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-sort_descending-manual.html @@ -0,0 +1,80 @@ +<!doctype html> +<html> + <head> + <title>aria-sort=descending</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", + "objectAttributes", + "contains", + "sort:descending" + ] + ], + "AXAPI" : [ + [ + "property", + "AXSortDirection", + "is", + "AXDescendingSortDirection" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "sort:descending" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.sort", + "is", + "descending" + ], + [ + "property", + "ItemStatus", + "is", + "descending" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-sort=descending" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-sort=descending.</p> + <div role='grid'> + <div role='row'> + <div role='columnheader' id='test' aria-sort='descending'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-sort_none-manual.html b/testing/web-platform/tests/core-aam/aria-sort_none-manual.html new file mode 100644 index 0000000000..7969c8ac9d --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-sort_none-manual.html @@ -0,0 +1,58 @@ +<!doctype html> +<html> + <head> + <title>aria-sort=none</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", + "objectAttributes", + "contains", + "sort:none" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "sort:none" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-sort=none" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-sort=none.</p> + <div role='grid'> + <div role='row'> + <div role='columnheader' id='test' aria-sort='none'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-sort_other-manual.html b/testing/web-platform/tests/core-aam/aria-sort_other-manual.html new file mode 100644 index 0000000000..81dc3554b8 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-sort_other-manual.html @@ -0,0 +1,80 @@ +<!doctype html> +<html> + <head> + <title>aria-sort=other</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", + "objectAttributes", + "contains", + "sort:other" + ] + ], + "AXAPI" : [ + [ + "property", + "AXSortDirection", + "is", + "AXUnknownSortDirection" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "sort:other" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.sort", + "is", + "other" + ], + [ + "property", + "ItemStatus", + "is", + "other" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-sort=other" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-sort=other.</p> + <div role='grid'> + <div role='row'> + <div role='columnheader' id='test' aria-sort='other'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-valuemax-manual.html b/testing/web-platform/tests/core-aam/aria-valuemax-manual.html new file mode 100644 index 0000000000..3369b5769d --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-valuemax-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-valuemax</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" : [ + [ + "result", + "atk_value_get_maximum_value()", + "is", + "10" + ] + ], + "AXAPI" : [ + [ + "property", + "AXMaxValue", + "is", + "10" + ] + ], + "IAccessible2" : [ + [ + "property", + "maximumValue", + "is", + "10" + ] + ], + "UIA" : [ + [ + "property", + "RangeValue.Maximum", + "is", + "10" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-valuemax" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-valuemax.</p> + <div role='scrollbar' id='test' aria-valuemax='10'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-valuemin-manual.html b/testing/web-platform/tests/core-aam/aria-valuemin-manual.html new file mode 100644 index 0000000000..4f92726447 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-valuemin-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>aria-valuemin</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" : [ + [ + "result", + "atk_value_get_minimum_value()", + "is", + "2" + ] + ], + "AXAPI" : [ + [ + "property", + "AXMinValue", + "is", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "minimumValue", + "is", + "2" + ] + ], + "UIA" : [ + [ + "property", + "RangeValue.Minimum", + "is", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-valuemin" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-valuemin.</p> + <div role='scrollbar' id='test' aria-valuemin='2'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-valuenow-manual.html b/testing/web-platform/tests/core-aam/aria-valuenow-manual.html new file mode 100644 index 0000000000..183feaf594 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-valuenow-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-valuenow</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" : [ + [ + "result", + "atk_value_get_current_value()", + "is", + "5" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "5" + ] + ], + "IAccessible2" : [ + [ + "property", + "currentValue", + "is", + "5" + ], + [ + "property", + "accValue", + "is", + "5" + ] + ], + "UIA" : [ + [ + "property", + "RangeValue.Value", + "is", + "5" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-valuenow" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-valuenow.</p> + <div role='scrollbar' id='test' aria-valuenow='5'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-valuenow_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-valuenow_value_changes-manual.html new file mode 100644 index 0000000000..36f9ec5b5a --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-valuenow_value_changes-manual.html @@ -0,0 +1,77 @@ +<!doctype html> +<html> + <head> + <title>aria-valuenow value changes</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" : [ + { + "attribute" : "aria-valuenow", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "10" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:property-change:accessible-value" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXValueChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_VALUECHANGE" + ] + ], + "UIA" : [ + [ + "event", + "type", + "is", + "ValuePattern.ValueProperty" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-valuenow value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-valuenow value changes.</p> + <div role='slider' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-valuetext-manual.html b/testing/web-platform/tests/core-aam/aria-valuetext-manual.html new file mode 100644 index 0000000000..364a9fb63e --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-valuetext-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>aria-valuetext</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", + "objectAttributes", + "contains", + "valuetext:hello world" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValueDescription", + "is", + "hello world" + ] + ], + "IAccessible2" : [ + [ + "property", + "accValue", + "is", + "hello world" + ], + [ + "property", + "objectAttributes", + "contains", + "valuetext:hello world" + ] + ], + "UIA" : [ + [ + "property", + "Value.Value", + "is", + "hello world" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-valuetext" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-valuetext.</p> + <div role='slider' id='test' aria-valuetext='hello world'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-valuetext_on_spinbutton-manual.html b/testing/web-platform/tests/core-aam/aria-valuetext_on_spinbutton-manual.html new file mode 100644 index 0000000000..0beec20b2d --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-valuetext_on_spinbutton-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>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", + "objectAttributes", + "contains", + "valuetext:awesome" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValueDescription", + "is", + "awesome" + ] + ], + "IAccessible2" : [ + [ + "property", + "accValue", + "is", + "awesome" + ], + [ + "property", + "objectAttributes", + "contains", + "valuetext:awesome" + ] + ], + "UIA" : [ + [ + "property", + "Value.Value", + "is", + "awesome" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "aria-valuetext" +} + ) ; + </script> + </head> + <body> + <p>This test examines exposure for aria-valuetext on a spinbutton.</p> + <div role='spinbutton' id='test' aria-valuetext="awesome">10</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/aria-valuetext_value_changes-manual.html b/testing/web-platform/tests/core-aam/aria-valuetext_value_changes-manual.html new file mode 100644 index 0000000000..5362ee4d85 --- /dev/null +++ b/testing/web-platform/tests/core-aam/aria-valuetext_value_changes-manual.html @@ -0,0 +1,69 @@ +<!doctype html> +<html> + <head> + <title>aria-valuetext value changes</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" : [ + { + "attribute" : "aria-valuetext", + "element" : "test", + "title" : "step 1", + "type" : "attribute", + "value" : "great" + }, + { + "element" : "test", + "test" : { + "ATK" : [ + [ + "event", + "type", + "is", + "object:property-change:accessible-value" + ] + ], + "AXAPI" : [ + [ + "event", + "type", + "is", + "AXValueChanged" + ] + ], + "MSAA" : [ + [ + "event", + "type", + "is", + "EVENT_OBJECT_VALUECHANGE" + ] + ] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "aria-valuetext value changes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-valuetext value changes.</p> + <div role='slider' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/article-manual.html b/testing/web-platform/tests/core-aam/article-manual.html new file mode 100644 index 0000000000..eac8eafaa5 --- /dev/null +++ b/testing/web-platform/tests/core-aam/article-manual.html @@ -0,0 +1,102 @@ +<!doctype html> +<html> + <head> + <title>article</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", + "role", + "is", + "ROLE_ARTICLE" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:article" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDocumentArticle" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:article" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_DOCUMENT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "article" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "article" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for article.</p> + <div role='article' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/banner-manual.html b/testing/web-platform/tests/core-aam/banner-manual.html new file mode 100644 index 0000000000..4ac3fb3dde --- /dev/null +++ b/testing/web-platform/tests/core-aam/banner-manual.html @@ -0,0 +1,106 @@ +<!doctype html> +<html> + <head> + <title>banner</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:banner" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkBanner" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:banner" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "banner" + ], + [ + "property", + "Landmark Type", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "banner" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "banner" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for banner.</p> + <div role='banner' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/blockquote-manual.html b/testing/web-platform/tests/core-aam/blockquote-manual.html new file mode 100644 index 0000000000..13d6859ec0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/blockquote-manual.html @@ -0,0 +1,89 @@ +<!doctype html> +<html> + <head> + <title>blockquote</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", + "role", + "is", + "ROLE_BLOCK_QUOTE" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_BLOCK_QUOTE" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "blockquote" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "blockquote" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for blockquote.</p> + <div role="blockquote" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/button_with_aria-haspopup_dialog-manual.html b/testing/web-platform/tests/core-aam/button_with_aria-haspopup_dialog-manual.html new file mode 100644 index 0000000000..73f8663e61 --- /dev/null +++ b/testing/web-platform/tests/core-aam/button_with_aria-haspopup_dialog-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>button with aria-haspopup="dialog"</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", + "role", + "is", + "ROLE_PUSH_BUTTON" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXPopUpButton" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "actions", + "contains", + "AXShowMenu" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_BUTTONMENU" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Button" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "button with aria-haspopup=\"dialog\"" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for button with aria-haspopup="dialog".</p> + <div role='button' id='test' aria-haspopup='dialog'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/button_with_aria-haspopup_true-manual.html b/testing/web-platform/tests/core-aam/button_with_aria-haspopup_true-manual.html new file mode 100644 index 0000000000..1a45b12b35 --- /dev/null +++ b/testing/web-platform/tests/core-aam/button_with_aria-haspopup_true-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>button with aria-haspopup="true"</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", + "role", + "is", + "ROLE_PUSH_BUTTON" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXPopUpButton" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "actions", + "contains", + "AXShowMenu" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_BUTTONMENU" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Button" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "button with aria-haspopup=\"true\"" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for button with aria-haspopup="true".</p> + <div role='button' id='test' aria-haspopup='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/button_with_default_values_for_aria-pressed_and_aria-haspopup-manual.html b/testing/web-platform/tests/core-aam/button_with_default_values_for_aria-pressed_and_aria-haspopup-manual.html new file mode 100644 index 0000000000..80eae42ca2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/button_with_default_values_for_aria-pressed_and_aria-haspopup-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>button with default values for aria-pressed and aria-haspopup</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", + "role", + "is", + "ROLE_PUSH_BUTTON" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXButton" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_PUSHBUTTON" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Button" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "button with default values for aria-pressed and aria-haspopup" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for button with default values for aria-pressed and aria-haspopup.</p> + <div role='button' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/button_with_defined_value_for_aria-pressed-manual.html b/testing/web-platform/tests/core-aam/button_with_defined_value_for_aria-pressed-manual.html new file mode 100644 index 0000000000..1571dca3d5 --- /dev/null +++ b/testing/web-platform/tests/core-aam/button_with_defined_value_for_aria-pressed-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>button with defined value for aria-pressed</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", + "role", + "is", + "ROLE_TOGGLE_BUTTON" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXCheckBox" + ], + [ + "property", + "AXSubrole", + "is", + "AXToggle" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TOGGLE_BUTTON" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_PUSHBUTTON" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Button" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "button with defined value for aria-pressed" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for button with defined value for aria-pressed.</p> + <div role='button' id='test' aria-pressed='true'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/caption-manual.html b/testing/web-platform/tests/core-aam/caption-manual.html new file mode 100644 index 0000000000..68a1af8553 --- /dev/null +++ b/testing/web-platform/tests/core-aam/caption-manual.html @@ -0,0 +1,83 @@ +<!doctype html> +<html> + <head> + <title>caption</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", + "role", + "is", + "ROLE_CAPTION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_CAPTION" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "caption" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for caption.</p> + <div role="caption" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/cell-manual.html b/testing/web-platform/tests/core-aam/cell-manual.html new file mode 100644 index 0000000000..3611292f79 --- /dev/null +++ b/testing/web-platform/tests/core-aam/cell-manual.html @@ -0,0 +1,106 @@ +<!doctype html> +<html> + <head> + <title>cell</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", + "role", + "is", + "ROLE_TABLE_CELL" + ], + [ + "property", + "interfaces", + "contains", + "TableCell" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXCell" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleTableCell" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_CELL" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "DataItem" + ], + [ + "property", + "LocalizedControlType", + "is", + "cell" + ], + [ + "property", + "Control Pattern", + "is", + "TableItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "cell" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for cell.</p> + <div role='table'> + <div role='row'> + <div role='cell' id='test'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/checkbox-manual.html b/testing/web-platform/tests/core-aam/checkbox-manual.html new file mode 100644 index 0000000000..462d4545c0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/checkbox-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>checkbox</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", + "role", + "is", + "ROLE_CHECK_BOX" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXCheckBox" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_CHECKBUTTON" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Checkbox" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "checkbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for checkbox.</p> + <div role='checkbox' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/code-manual.html b/testing/web-platform/tests/core-aam/code-manual.html new file mode 100644 index 0000000000..c0bc13d512 --- /dev/null +++ b/testing/web-platform/tests/core-aam/code-manual.html @@ -0,0 +1,93 @@ +<!doctype html> +<html> + <head> + <title>code</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", + "role", + "is", + "ROLE_STATIC" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:code" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXCodeStyleGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TEXT_FRAME" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:code" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "code" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "code" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for code.</p> + <div role="code" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/columnheader-manual.html b/testing/web-platform/tests/core-aam/columnheader-manual.html new file mode 100644 index 0000000000..eabce27d3b --- /dev/null +++ b/testing/web-platform/tests/core-aam/columnheader-manual.html @@ -0,0 +1,94 @@ +<!doctype html> +<html> + <head> + <title>columnheader</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", + "role", + "is", + "ROLE_COLUMN_HEADER" + ], + [ + "property", + "interfaces", + "contains", + "TableCell" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXCell" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleTableCell" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_COLUMNHEADER" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "HeaderItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "columnheader" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for columnheader.</p> + <div role='grid'> + <div role='row'> + <div role='columnheader' id='test'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/combobox-manual.html b/testing/web-platform/tests/core-aam/combobox-manual.html new file mode 100644 index 0000000000..93d8e5ce83 --- /dev/null +++ b/testing/web-platform/tests/core-aam/combobox-manual.html @@ -0,0 +1,104 @@ +<!doctype html> +<html> + <head> + <title>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", + "role", + "is", + "ROLE_COMBO_BOX" + ], + [ + "property", + "states", + "contains", + "STATE_EXPANDABLE" + ], + [ + "property", + "states", + "contains", + "STATE_HAS_POPUP" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXComboBox" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_HASPOPUP" + ], + [ + "property", + "states", + "contains", + "STATE_SYSTEM_COLLAPSED" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_COMBOBOX" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Combobox" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for combobox.</p> + <div role='combobox' aria-expanded='false' id='test'> + <div role='textbox'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/combobox-value-calculation-manual.html b/testing/web-platform/tests/core-aam/combobox-value-calculation-manual.html new file mode 100644 index 0000000000..cca5ebe666 --- /dev/null +++ b/testing/web-platform/tests/core-aam/combobox-value-calculation-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>combobox value calculation</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", + "objectAttributes", + "contains", + "valuetext:Apple" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "Apple" + ] + ], + "IAccessible2" : [ + [ + "property", + "accValue", + "is", + "Apple" + ] + ], + "UIA" : [ + [ + "property", + "Value.Value", + "is", + "Apple" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for a combobox whose value is computed.</p> + <div id="combo1-label">Choose a fruit, with text content</div> + <div aria-controls="listbox1" id="test" aria-expanded="false" aria-haspopup="listbox" aria-labelledby="combo1-label" role="combobox" tabindex="0">Apple</div> + <div role="listbox" id="listbox1"> + <div role="option" id="combo1-0" aria-selected="true">Apple</div> + <div role="option" id="combo1-1">Banana</div> + <div role="option" id="combo1-2">Cherry</div> + </div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/complementary-manual.html b/testing/web-platform/tests/core-aam/complementary-manual.html new file mode 100644 index 0000000000..abecfd4ad8 --- /dev/null +++ b/testing/web-platform/tests/core-aam/complementary-manual.html @@ -0,0 +1,106 @@ +<!doctype html> +<html> + <head> + <title>complementary</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:complementary" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkComplementary" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:complementary" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "complementary" + ], + [ + "property", + "Landmark Type", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "complementary" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "complementary" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for complementary.</p> + <div role='complementary' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/contentinfo-manual.html b/testing/web-platform/tests/core-aam/contentinfo-manual.html new file mode 100644 index 0000000000..0a0d9661c3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/contentinfo-manual.html @@ -0,0 +1,106 @@ +<!doctype html> +<html> + <head> + <title>contentinfo</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:contentinfo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkContentInfo" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:contentinfo" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "content information" + ], + [ + "property", + "Landmark Type", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "content information" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "contentinfo" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for contentinfo.</p> + <div role='contentinfo' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/definition-manual.html b/testing/web-platform/tests/core-aam/definition-manual.html new file mode 100644 index 0000000000..d686e9f64b --- /dev/null +++ b/testing/web-platform/tests/core-aam/definition-manual.html @@ -0,0 +1,88 @@ +<!doctype html> +<html> + <head> + <title>definition</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", + "role", + "is", + "ROLE_DESCRIPTION_VALUE" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:definition" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDefinition" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:definition" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "definition" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "definition" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for definition.</p> + <div role='definition' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/deletion-manual.html b/testing/web-platform/tests/core-aam/deletion-manual.html new file mode 100644 index 0000000000..4f6b0d7feb --- /dev/null +++ b/testing/web-platform/tests/core-aam/deletion-manual.html @@ -0,0 +1,93 @@ +<!doctype html> +<html> + <head> + <title>deletion</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", + "role", + "is", + "ROLE_CONTENT_DELETION" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:deletion" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDeleteStyleGroup" + ], + [ + "result", + "AXAttributedStringForTextMarkerRange" + "contains", + "AXIsSuggestedDeletion" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_CONTENT_DELETION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "deletion" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "deletion" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for deletion.</p> + <div role="deletion" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/dialog-manual.html b/testing/web-platform/tests/core-aam/dialog-manual.html new file mode 100644 index 0000000000..a93c54b07b --- /dev/null +++ b/testing/web-platform/tests/core-aam/dialog-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>dialog</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", + "role", + "is", + "ROLE_DIALOG" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationDialog" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_DIALOG" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Pane" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "dialog" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for dialog.</p> + <div role='dialog' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/directory-manual.html b/testing/web-platform/tests/core-aam/directory-manual.html new file mode 100644 index 0000000000..dc9f94f240 --- /dev/null +++ b/testing/web-platform/tests/core-aam/directory-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>directory</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", + "role", + "is", + "ROLE_LIST" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXList" + ], + [ + "property", + "AXSubrole", + "is", + "AXContentList" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LIST" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "List" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "directory" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for directory.</p> + <div role='directory' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/document-manual.html b/testing/web-platform/tests/core-aam/document-manual.html new file mode 100644 index 0000000000..a0e1c1d0d0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/document-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>document</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", + "role", + "is", + "ROLE_DOCUMENT_FRAME" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDocument" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_DOCUMENT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Document" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "document" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for document.</p> + <div role='document' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/emphasis-manual.html b/testing/web-platform/tests/core-aam/emphasis-manual.html new file mode 100644 index 0000000000..b490521fca --- /dev/null +++ b/testing/web-platform/tests/core-aam/emphasis-manual.html @@ -0,0 +1,93 @@ +<!doctype html> +<html> + <head> + <title>emphasis</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", + "role", + "is", + "ROLE_STATIC" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:emphasis" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXEmphasisStyleGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TEXT_FRAME" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:emphasis" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "emphasis" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "emphasis" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for emphasis.</p> + <div role="emphasis" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/exclude_element_hidden_with_css_display_none-manual.html b/testing/web-platform/tests/core-aam/exclude_element_hidden_with_css_display_none-manual.html new file mode 100644 index 0000000000..5cae26ef65 --- /dev/null +++ b/testing/web-platform/tests/core-aam/exclude_element_hidden_with_css_display_none-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Exclude element hidden with CSS display:none</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", + "accessible", + "is", + "false" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Exclude element hidden with CSS display:none" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Exclude element hidden with CSS display:none.</p> + <div role='button' style='display:none;'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/exclude_element_hidden_with_css_visibility_hidden-manual.html b/testing/web-platform/tests/core-aam/exclude_element_hidden_with_css_visibility_hidden-manual.html new file mode 100644 index 0000000000..4bfa6cf830 --- /dev/null +++ b/testing/web-platform/tests/core-aam/exclude_element_hidden_with_css_visibility_hidden-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Exclude element hidden with CSS visibility: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", + "accessible", + "is", + "false" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Exclude element hidden with CSS visibility:hidden" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Exclude element hidden with CSS visibility:hidden.</p> + <div role='button' style='visibility:hidden;'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/exclude_element_hidden_with_html5_hidden-manual.html b/testing/web-platform/tests/core-aam/exclude_element_hidden_with_html5_hidden-manual.html new file mode 100644 index 0000000000..c339471772 --- /dev/null +++ b/testing/web-platform/tests/core-aam/exclude_element_hidden_with_html5_hidden-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Exclude element hidden with HTML5 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", + "accessible", + "is", + "false" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Exclude element hidden with HTML5 hidden" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Exclude element hidden with HTML5 hidden.</p> + <div role='button' hidden>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/feed-manual.html b/testing/web-platform/tests/core-aam/feed-manual.html new file mode 100644 index 0000000000..0693f9d0f4 --- /dev/null +++ b/testing/web-platform/tests/core-aam/feed-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>feed</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", + "role", + "is", + "ROLE_PANEL" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:feed" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:feed" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "feed" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "feed" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for feed.</p> + <div role='feed' id='test'> + <div role='article'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/figure-manual.html b/testing/web-platform/tests/core-aam/figure-manual.html new file mode 100644 index 0000000000..43407c9dc1 --- /dev/null +++ b/testing/web-platform/tests/core-aam/figure-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>figure</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", + "role", + "is", + "ROLE_PANEL" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:figure" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:figure" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "figure" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "figure" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for figure.</p> + <div role='figure' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/form-manual.html b/testing/web-platform/tests/core-aam/form-manual.html new file mode 100644 index 0000000000..b533412093 --- /dev/null +++ b/testing/web-platform/tests/core-aam/form-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>form</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:form" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_FORM" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:form" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "form" + ], + [ + "property", + "Landmark Type", + "is", + "Form" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "form" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for form.</p> + <div role='form' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/generic-manual.html b/testing/web-platform/tests/core-aam/generic-manual.html new file mode 100644 index 0000000000..6da9ab1c88 --- /dev/null +++ b/testing/web-platform/tests/core-aam/generic-manual.html @@ -0,0 +1,83 @@ +<!doctype html> +<html> + <head> + <title>generic</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", + "role", + "is", + "ROLE_SECTION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "generic" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for generic.</p> + <p role="generic" id="test">content</p> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/generic_roledescription_prohibited-manual.html b/testing/web-platform/tests/core-aam/generic_roledescription_prohibited-manual.html new file mode 100644 index 0000000000..07f32ccc5c --- /dev/null +++ b/testing/web-platform/tests/core-aam/generic_roledescription_prohibited-manual.html @@ -0,0 +1,69 @@ +<!doctype html> +<html> + <head> + <title>generic roledescription prohibited</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", + "objectAttributes", + "doesNotContain", + "roledescription:foo" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRoleDescription", + "isNot", + "foo" + ] + ], + "IAccessible2" : [ + [ + "property", + "localizedExtendedRole", + "isNot", + "foo" + ] + ], + "UIA" : [ + [ + "property", + "Localized ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "generic roledescription prohibited" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for generic with a roledescription.</p> + <div role="generic" id="test" aria-roledescription="foo">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/grid-level-not-supported-manual.html b/testing/web-platform/tests/core-aam/grid-level-not-supported-manual.html new file mode 100644 index 0000000000..5e900cf459 --- /dev/null +++ b/testing/web-platform/tests/core-aam/grid-level-not-supported-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>grid level not supported</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", + "objectAttributes", + "doesNotContain", + "level:2" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "isNot", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "doesNotContain", + "level:2" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.level", + "isNot", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "grid level not supported" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for grid with author-provided level.</p> + <div role='grid' id='test' aria-level='2'> + <div role='row'> + <div role='gridcell'>content</div> + </div> + </div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/grid-manual.html b/testing/web-platform/tests/core-aam/grid-manual.html new file mode 100644 index 0000000000..ed2908cc5e --- /dev/null +++ b/testing/web-platform/tests/core-aam/grid-manual.html @@ -0,0 +1,157 @@ +<!doctype html> +<html> + <head> + <title>grid</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", + "role", + "is", + "ROLE_TABLE" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:grid" + ], + [ + "property", + "interfaces", + "contains", + "Table" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXTable" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXColumnHeaderUIElements", + "is", + "[colheader1, colheader2]" + ], + [ + "property", + "AXHeader", + "is", + "AXGroup" + ], + [ + "property", + "AXRowHeaderUIElements", + "is", + "[rowheader1, rowheader2]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:grid" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleTable2" + ], + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TABLE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "DataGrid" + ], + [ + "property", + "Control Pattern", + "is", + "Selection" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "grid" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for grid.</p> + <div role='grid' id='test'> + <div role='row' id='headerrow'> + <div role='columnheader' id='colheader1'>content</div> + <div role='columnheader' id='colheader2'>content</div> + </div> + <div role='row'> + <div role='rowheader' id='rowheader1'>content</div> + <div role='gridcell'>content</div> + </div> + <div role='row'> + <div role='rowheader' id='rowheader2'>content</div> + <div role='gridcell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/gridcell-manual.html b/testing/web-platform/tests/core-aam/gridcell-manual.html new file mode 100644 index 0000000000..b01d43aefc --- /dev/null +++ b/testing/web-platform/tests/core-aam/gridcell-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>gridcell</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", + "role", + "is", + "ROLE_TABLE_CELL" + ], + [ + "property", + "interfaces", + "contains", + "TableCell" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXCell" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleTableCell" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_CELL" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "DataItem" + ], + [ + "property", + "LocalizedControlType", + "is", + "gridcell" + ], + [ + "property", + "Control Pattern", + "is", + "SelectionItem" + ], + [ + "property", + "SelectionItem.SelectionContainer", + "is", + "the containing grid" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "gridcell" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for gridcell.</p> + <div role='grid'> + <div role='row'> + <div role='gridcell' id='test'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/group-manual.html b/testing/web-platform/tests/core-aam/group-manual.html new file mode 100644 index 0000000000..adf4e40f50 --- /dev/null +++ b/testing/web-platform/tests/core-aam/group-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>group</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", + "role", + "is", + "ROLE_PANEL" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "group" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for group.</p> + <div role='group' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/group_as_child_of_listbox-manual.html b/testing/web-platform/tests/core-aam/group_as_child_of_listbox-manual.html new file mode 100644 index 0000000000..823cd0512d --- /dev/null +++ b/testing/web-platform/tests/core-aam/group_as_child_of_listbox-manual.html @@ -0,0 +1,81 @@ +<!doctype html> +<html> + <head> + <title>group as child of 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", + "role", + "is", + "ROLE_PANEL" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "group as child of listbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines whether or not group is supported as a child of listbox.</p> + <div role='listbox'> + <div role='group' id='test'> + <div role='option'>content 1</div> + <div role='option'>content 2</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/heading-manual.html b/testing/web-platform/tests/core-aam/heading-manual.html new file mode 100644 index 0000000000..2c683e2888 --- /dev/null +++ b/testing/web-platform/tests/core-aam/heading-manual.html @@ -0,0 +1,88 @@ +<!doctype html> +<html> + <head> + <title>heading</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", + "role", + "is", + "ROLE_HEADING" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXHeading" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_HEADING" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:heading" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "heading" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "heading" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for heading.</p> + <div role='heading' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/heading-no-level-manual.html b/testing/web-platform/tests/core-aam/heading-no-level-manual.html new file mode 100644 index 0000000000..e25bc7d8a0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/heading-no-level-manual.html @@ -0,0 +1,75 @@ +<!doctype html> +<html> + <head> + <title>heading with no author-provided level</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", + "objectAttributes", + "contains", + "level:2" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "is", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "level:2" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.level", + "is", + "2" + ], + [ + "property", + "StyleId_Heading", + "is", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "heading" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for aria-level on heading with no author-provided level.</p> + <div role='heading' id='test'>content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/img-manual.html b/testing/web-platform/tests/core-aam/img-manual.html new file mode 100644 index 0000000000..7ffdf715f7 --- /dev/null +++ b/testing/web-platform/tests/core-aam/img-manual.html @@ -0,0 +1,90 @@ +<!doctype html> +<html> + <head> + <title>img</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", + "role", + "is", + "ROLE_IMAGE" + ], + [ + "property", + "interfaces", + "contains", + "Image" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXImage" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleImage" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GRAPHIC" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Image" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "img" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for img.</p> + <div role='img' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-controls-manual.html b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-controls-manual.html new file mode 100644 index 0000000000..7eebef462c --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-controls-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Include element referenced by global aria-controls</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element referenced by global aria-controls" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element referenced by global aria-controls.</p> + <div role='group' aria-controls='test'>content</div> + <div id='test'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-describedby-manual.html b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-describedby-manual.html new file mode 100644 index 0000000000..55be3789af --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-describedby-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Include element referenced by global aria-describedby</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element referenced by global aria-describedby" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element referenced by global aria-describedby.</p> + <div role='group' aria-describedby='test'>content</div> + <div id='test'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-details-manual.html b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-details-manual.html new file mode 100644 index 0000000000..99f6a6cad8 --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-details-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Include element referenced by global aria-details</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element referenced by global aria-details" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element referenced by global aria-details.</p> + <div role='group' aria-details='test'>content</div> + <div id='test'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-errormessage-manual.html b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-errormessage-manual.html new file mode 100644 index 0000000000..273b99d422 --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-errormessage-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Include element referenced by global aria-errormessage</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element referenced by global aria-errormessage" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element referenced by global aria-errormessage.</p> + <div role='checkbox' aria-errormessage='test' aria-invalid='true'>content</div> + <div id='test'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-flowto-manual.html b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-flowto-manual.html new file mode 100644 index 0000000000..9847a81a02 --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-flowto-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Include element referenced by global aria-flowto</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element referenced by global aria-flowto" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element referenced by global aria-flowto.</p> + <div role='group' aria-flowto='test'>content</div> + <div id='test'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-labelledby-manual.html b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-labelledby-manual.html new file mode 100644 index 0000000000..c7cdd0e37f --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-labelledby-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Include element referenced by global aria-labelledby</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element referenced by global aria-labelledby" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element referenced by global aria-labelledby.</p> + <div role='group' aria-labelledby='test'>content</div> + <div id='test'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-owns-manual.html b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-owns-manual.html new file mode 100644 index 0000000000..540690d970 --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_referenced_by_global_aria-owns-manual.html @@ -0,0 +1,71 @@ +<!doctype html> +<html> + <head> + <title>Include element referenced by global aria-owns</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element referenced by global aria-owns" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element referenced by global aria-owns.</p> + <div role='group' aria-owns='test'>content</div> + <div id='test'>hello world</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_that_is_focusable-manual.html b/testing/web-platform/tests/core-aam/include_element_that_is_focusable-manual.html new file mode 100644 index 0000000000..88f8c1d3d6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_that_is_focusable-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Include element that is 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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element that is focusable" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element that is focusable.</p> + <div id='test' tabindex='0'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/include_element_with_id_inside_element_with_aria-activedescendant-manual.html b/testing/web-platform/tests/core-aam/include_element_with_id_inside_element_with_aria-activedescendant-manual.html new file mode 100644 index 0000000000..fc0b654957 --- /dev/null +++ b/testing/web-platform/tests/core-aam/include_element_with_id_inside_element_with_aria-activedescendant-manual.html @@ -0,0 +1,73 @@ +<!doctype html> +<html> + <head> + <title>Include element with ID inside element with aria-activedescendant</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Include element with ID inside element with aria-activedescendant" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for Include element with ID inside element with aria-activedescendant.</p> + <div role='group' aria-activedescendant='child' tabindex='0'> + <div id='child'>content</div> + <div id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/insertion-manual.html b/testing/web-platform/tests/core-aam/insertion-manual.html new file mode 100644 index 0000000000..7b5fd80985 --- /dev/null +++ b/testing/web-platform/tests/core-aam/insertion-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>insertion</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", + "role", + "is", + "ROLE_CONTENT_INSERTION" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:insertion" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXInsertStyleGroup" + ], + [ + "result", + "AXAttributedStringForTextMarkerRange" + "contains", + "AXIsSuggestedInsertion" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_CONTENT_INSERTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "insertion" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "insertion" +} + + ) ; + </script> + </head> + <body> + <p> + This test examines the ARIA properties for insertion. + </p> + <div role="insertion" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/invalid_role_not_mapped-manual.html b/testing/web-platform/tests/core-aam/invalid_role_not_mapped-manual.html new file mode 100644 index 0000000000..b4c68ebea2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/invalid_role_not_mapped-manual.html @@ -0,0 +1,85 @@ +<!doctype html> +<html> + <head> + <title>Invalid Roles Not Mapped</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", + "role", + "is", + "ROLE_PARAGRAPH" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_PARAGRAPH" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TEXT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Invalid Roles Not Mapped" +} + + ) ; + + </script> + </head> + <body> + <p>This tests the statement: If the role attribute contains no tokens matching the name of a non-abstract WAI-ARIA role, the user agent MUST treat the element as if no role had been provided.</p> + <p id="test" role="foobar">content</p> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/link-manual.html b/testing/web-platform/tests/core-aam/link-manual.html new file mode 100644 index 0000000000..834264bb6b --- /dev/null +++ b/testing/web-platform/tests/core-aam/link-manual.html @@ -0,0 +1,108 @@ +<!doctype html> +<html> + <head> + <title>link</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", + "role", + "is", + "ROLE_LINK" + ], + [ + "property", + "interfaces", + "contains", + "Hyperlink" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXLink" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_LINKED" + ], + [ + "property", + "states", + "contains", + "STATE_SYSTEM_LINKED" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleHypertext" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LINK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "HyperLink" + ], + [ + "property", + "Control Pattern", + "is", + "Value" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "link" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for link.</p> + <div role='link' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/list-manual.html b/testing/web-platform/tests/core-aam/list-manual.html new file mode 100644 index 0000000000..a020885f5d --- /dev/null +++ b/testing/web-platform/tests/core-aam/list-manual.html @@ -0,0 +1,86 @@ +<!doctype html> +<html> + <head> + <title>list</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", + "role", + "is", + "ROLE_LIST" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXList" + ], + [ + "property", + "AXSubrole", + "is", + "AXContentList" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LIST" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "List" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "list" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for list.</p> + <div role='list' id='test'> + <div role='listitem'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/listbox_not_owned_by_or_child_of_combobox-manual.html b/testing/web-platform/tests/core-aam/listbox_not_owned_by_or_child_of_combobox-manual.html new file mode 100644 index 0000000000..791fd575c8 --- /dev/null +++ b/testing/web-platform/tests/core-aam/listbox_not_owned_by_or_child_of_combobox-manual.html @@ -0,0 +1,104 @@ +<!doctype html> +<html> + <head> + <title>listbox not owned by or child of 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", + "role", + "is", + "ROLE_LIST_BOX" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXList" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LIST" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "List" + ], + [ + "property", + "Control Pattern", + "is", + "Selection" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "listbox not owned by or child of combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for listbox not owned by or child of combobox.</p> + <div role='listbox' id='test'> + <div role='option'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/listbox_owned_by_or_child_of_combobox-manual.html b/testing/web-platform/tests/core-aam/listbox_owned_by_or_child_of_combobox-manual.html new file mode 100644 index 0000000000..fa5b43cb1a --- /dev/null +++ b/testing/web-platform/tests/core-aam/listbox_owned_by_or_child_of_combobox-manual.html @@ -0,0 +1,107 @@ +<!doctype html> +<html> + <head> + <title>listbox owned by or child of 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", + "role", + "is", + "ROLE_MENU" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXList" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LIST" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "List" + ], + [ + "property", + "Control Pattern", + "is", + "Selection" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "listbox owned by or child of combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for listbox owned by or child of combobox.</p> + <div role='combobox'> + <div role='textbox'>content</div> + <div role='listbox' id='test'> + <div role='option'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/listitem-manual.html b/testing/web-platform/tests/core-aam/listitem-manual.html new file mode 100644 index 0000000000..e3a708d99d --- /dev/null +++ b/testing/web-platform/tests/core-aam/listitem-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>listitem</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", + "role", + "is", + "ROLE_LIST_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LISTITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ListItem" + ], + [ + "property", + "Control Pattern", + "is", + "SelectionItem" + ], + [ + "property", + "SelectionItem.SelectionContainer", + "is", + "the containing list" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "listitem" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for listitem.</p> + <div role='list'> + <div role='listitem' id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/log-manual.html b/testing/web-platform/tests/core-aam/log-manual.html new file mode 100644 index 0000000000..9e3bf8b1da --- /dev/null +++ b/testing/web-platform/tests/core-aam/log-manual.html @@ -0,0 +1,130 @@ +<!doctype html> +<html> + <head> + <title>log</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", + "role", + "is", + "ROLE_LOG" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:log" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live-role:log" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationLog" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:log" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live-role:log" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "log" + ], + [ + "property", + "LiveSetting", + "is", + "Polite (1)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "log" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for log.</p> + <div role='log' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/main-manual.html b/testing/web-platform/tests/core-aam/main-manual.html new file mode 100644 index 0000000000..e85c2d6ac9 --- /dev/null +++ b/testing/web-platform/tests/core-aam/main-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>main</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:main" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkMain" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:main" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "main" + ], + [ + "property", + "Landmark Type", + "is", + "Main" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "main" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for main.</p> + <div role='main' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/mark-manual.html b/testing/web-platform/tests/core-aam/mark-manual.html new file mode 100644 index 0000000000..8373fa133d --- /dev/null +++ b/testing/web-platform/tests/core-aam/mark-manual.html @@ -0,0 +1,93 @@ +<!doctype html> +<html> + <head> + <title>mark</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", + "role", + "is", + "ROLE_MARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:mark" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "highlight" + ], + [ + "result", + "AXAttributedStringForTextMarkerRange" + "contains", + "AXHighlight" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_MARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:mark" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "mark" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for mark.</p> + <div role="mark" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/marquee-manual.html b/testing/web-platform/tests/core-aam/marquee-manual.html new file mode 100644 index 0000000000..2c0e9a9385 --- /dev/null +++ b/testing/web-platform/tests/core-aam/marquee-manual.html @@ -0,0 +1,120 @@ +<!doctype html> +<html> + <head> + <title>marquee</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", + "role", + "is", + "ROLE_MARQUEE" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "live:off" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationMarquee" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:marquee" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "live:off" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_ANIMATION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "marquee" + ], + [ + "property", + "LiveSetting", + "is", + "Off (0)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "marquee" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for marquee.</p> + <div role='marquee' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/math-manual.html b/testing/web-platform/tests/core-aam/math-manual.html new file mode 100644 index 0000000000..fdc6bcff17 --- /dev/null +++ b/testing/web-platform/tests/core-aam/math-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>math</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", + "role", + "is", + "ROLE_MATH" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDocumentMath" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_EQUATION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "math" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "math" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for math.</p> + <div role='math' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/math_role_children_are_not_presentational-manual.html b/testing/web-platform/tests/core-aam/math_role_children_are_not_presentational-manual.html new file mode 100644 index 0000000000..5c9faa169c --- /dev/null +++ b/testing/web-platform/tests/core-aam/math_role_children_are_not_presentational-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>Math role children are not presentational</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "Math role children are not presentational" +} + + ) ; + </script> + </head> + <body> + <p>This test examines whether or not math role children are treated as presentational.</p> + <div role='math'><input id='test'/> + 1 = 4</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/menu-manual.html b/testing/web-platform/tests/core-aam/menu-manual.html new file mode 100644 index 0000000000..407bf26a2d --- /dev/null +++ b/testing/web-platform/tests/core-aam/menu-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>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", + "role", + "is", + "ROLE_MENU" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXMenu" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_MENUPOPUP" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Menu" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "menu" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for menu.</p> + <div role='menu' id='test'> + <div role='menuitemradio'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/menu_child_of_menu_item-manual.html b/testing/web-platform/tests/core-aam/menu_child_of_menu_item-manual.html new file mode 100644 index 0000000000..69ac3316a4 --- /dev/null +++ b/testing/web-platform/tests/core-aam/menu_child_of_menu_item-manual.html @@ -0,0 +1,102 @@ +<!doctype html> +<html> + <head> + <title>menu child of menu item</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", + "role", + "is", + "ROLE_MENU" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXMenu" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_MENUPOPUP" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Menu" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "menu child of menu item" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for menu child of menu item.</p> + <div role='menu'> + <div role='menuitem'> + <div role='menu' id='test'> + <div role='menuitemradio'>content</div> + </div> + <div role='menuitem'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/menubar-manual.html b/testing/web-platform/tests/core-aam/menubar-manual.html new file mode 100644 index 0000000000..2b8d21bcb5 --- /dev/null +++ b/testing/web-platform/tests/core-aam/menubar-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>menubar</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", + "role", + "is", + "ROLE_MENU_BAR" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXMenuBar" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_MENUBAR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "MenuBar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "menubar" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for menubar.</p> + <div role='menubar' id='test'> + <div role='menuitemradio'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/menuitem-manual.html b/testing/web-platform/tests/core-aam/menuitem-manual.html new file mode 100644 index 0000000000..49c3cacbe8 --- /dev/null +++ b/testing/web-platform/tests/core-aam/menuitem-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>menuitem</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", + "role", + "is", + "ROLE_MENU_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXMenuItem" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_MENUITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "MenuItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "menuitem" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for menuitem.</p> + <div role='menu'> + <div role='menuitem' id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/menuitemcheckbox-manual.html b/testing/web-platform/tests/core-aam/menuitemcheckbox-manual.html new file mode 100644 index 0000000000..9a2bc5ea76 --- /dev/null +++ b/testing/web-platform/tests/core-aam/menuitemcheckbox-manual.html @@ -0,0 +1,92 @@ +<!doctype html> +<html> + <head> + <title>menuitemcheckbox</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", + "role", + "is", + "ROLE_CHECK_MENU_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXMenuItem" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_CHECK_MENU_ITEM" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_CHECKBUTTON or ROLE_SYSTEM_MENUITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "MenuItem" + ], + [ + "property", + "Control Pattern", + "is", + "Toggle" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "menuitemcheckbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for menuitemcheckbox.</p> + <div role='menu'> + <div role='menuitemcheckbox' id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/menuitemcheckbox_child_of_group-manual.html b/testing/web-platform/tests/core-aam/menuitemcheckbox_child_of_group-manual.html new file mode 100644 index 0000000000..8a86dfd8dd --- /dev/null +++ b/testing/web-platform/tests/core-aam/menuitemcheckbox_child_of_group-manual.html @@ -0,0 +1,87 @@ +<!doctype html> +<html> + <head> + <title>menuitemcheckbox child of group</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", + "role", + "is", + "ROLE_CHECK_MENU_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXMenuItem" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_CHECK_MENU_ITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "MenuItem" + ], + [ + "property", + "Control Pattern", + "is", + "Toggle" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "menuitemcheckbox child of group" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for a menuitemcheckbox child of group.</p> + <div role='menu'> + <div role='group'> + <div role='menuitemcheckbox' id='test'>content 1</div> + </div> + <div role='menuitem'>content 2</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/menuitemradio-manual.html b/testing/web-platform/tests/core-aam/menuitemradio-manual.html new file mode 100644 index 0000000000..95fb7372e1 --- /dev/null +++ b/testing/web-platform/tests/core-aam/menuitemradio-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>menuitemradio</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", + "role", + "is", + "ROLE_RADIO_MENU_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXMenuItem" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_RADIO_MENU_ITEM" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_RADIOBUTTON or ROLE_SYSTEM_MENUITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "MenuItem" + ], + [ + "property", + "Control Pattern", + "is", + "Toggle" + ], + [ + "property", + "Control Pattern", + "is", + "SelectionItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "menuitemradio" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for menuitemradio.</p> + <div role='menu'> + <div role='menuitemradio' id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/meter-manual.html b/testing/web-platform/tests/core-aam/meter-manual.html new file mode 100644 index 0000000000..74c8ba8073 --- /dev/null +++ b/testing/web-platform/tests/core-aam/meter-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>meter</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", + "role", + "is", + "ROLE_LEVEL_BAR" + ], + [ + "property", + "interfaces", + "contains", + "Value" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXLevelIndicator" + ], + [ + "property", + "AXSubrole", + "is", + "AXMeter" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LEVEL_BAR" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleValue" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ProgressBar" + ], + [ + "property", + "LocalizedControlType", + "is", + "meter" + ], + [ + "property", + "Control Pattern", + "is", + "RangeValue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "meter" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for meter.</p> + <div role='meter' aria-valuenow='20' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/navigation-manual.html b/testing/web-platform/tests/core-aam/navigation-manual.html new file mode 100644 index 0000000000..556b0654fe --- /dev/null +++ b/testing/web-platform/tests/core-aam/navigation-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>navigation</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:navigation" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkNavigation" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:navigation" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "navigation" + ], + [ + "property", + "Landmark Type", + "is", + "Navigation" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "navigation" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for navigation.</p> + <div role='navigation' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/none-manual.html b/testing/web-platform/tests/core-aam/none-manual.html new file mode 100644 index 0000000000..0ca7430c66 --- /dev/null +++ b/testing/web-platform/tests/core-aam/none-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>none</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", + "accessible", + "is", + "false" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "none" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for none.</p> + <div role='none' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/none_used_on_element_that_is_focused_or_fires_event-manual.html b/testing/web-platform/tests/core-aam/none_used_on_element_that_is_focused_or_fires_event-manual.html new file mode 100644 index 0000000000..9b77057565 --- /dev/null +++ b/testing/web-platform/tests/core-aam/none_used_on_element_that_is_focused_or_fires_event-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>none used on element that is focused or fires event</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "none used on element that is focused or fires event" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for none used on element that is focused or fires event.</p> + <div id='test' role='none' tabindex='0'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/none_used_on_table_element_with_td_children-manual.html b/testing/web-platform/tests/core-aam/none_used_on_table_element_with_td_children-manual.html new file mode 100644 index 0000000000..ad5800293d --- /dev/null +++ b/testing/web-platform/tests/core-aam/none_used_on_table_element_with_td_children-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>none used on table element with td children</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", + "role", + "is", + "ROLE_SECTION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "Control Type", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "none used on table element with td children" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for none used on table element with td children.</p> + <table role='none'> + <tr><td id='test' aria-label='name to force inclusion'>row 1, col 1</td><td>row 1, col 2</td></tr> + </table> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/none_used_on_ul_element_with_li_children-manual.html b/testing/web-platform/tests/core-aam/none_used_on_ul_element_with_li_children-manual.html new file mode 100644 index 0000000000..74847c79d4 --- /dev/null +++ b/testing/web-platform/tests/core-aam/none_used_on_ul_element_with_li_children-manual.html @@ -0,0 +1,79 @@ +<!doctype html> +<html> + <head> + <title>none used on ul element with li children</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", + "role", + "is", + "ROLE_SECTION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "Control Type", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "none used on ul element with li children" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for none used on ul element with li children.</p> + <ul role='none'> + <li id='test' tabindex='0' aria-label='name to force inclusion'>item 1</li> + <li>item 2</li> + </ul> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/note-manual.html b/testing/web-platform/tests/core-aam/note-manual.html new file mode 100644 index 0000000000..72b1b35183 --- /dev/null +++ b/testing/web-platform/tests/core-aam/note-manual.html @@ -0,0 +1,82 @@ +<!doctype html> +<html> + <head> + <title>note</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", + "role", + "is", + "ROLE_COMMENT" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDocumentNote" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_NOTE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "note" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "note" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for note.</p> + <div role='note' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/option_inside_combobox-manual.html b/testing/web-platform/tests/core-aam/option_inside_combobox-manual.html new file mode 100644 index 0000000000..55a38cdf6d --- /dev/null +++ b/testing/web-platform/tests/core-aam/option_inside_combobox-manual.html @@ -0,0 +1,87 @@ +<!doctype html> +<html> + <head> + <title>option inside 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", + "role", + "is", + "ROLE_MENU_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXStaticText" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LISTITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ListItem" + ], + [ + "property", + "Control Pattern", + "is", + "Invoke" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "option inside combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for option inside combobox.</p> + <div role='combobox'> + <div role='textbox'>content</div> + <div role='listbox'> + <div role='option' id='test'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/option_not_inside_combobox-manual.html b/testing/web-platform/tests/core-aam/option_not_inside_combobox-manual.html new file mode 100644 index 0000000000..3f6f977bb1 --- /dev/null +++ b/testing/web-platform/tests/core-aam/option_not_inside_combobox-manual.html @@ -0,0 +1,84 @@ +<!doctype html> +<html> + <head> + <title>option not inside 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", + "role", + "is", + "ROLE_LIST_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXStaticText" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LISTITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ListItem" + ], + [ + "property", + "Control Pattern", + "is", + "Invoke" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "option not inside combobox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for option not inside combobox.</p> + <div role='listbox'> + <div role='option' id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/paragraph-manual.html b/testing/web-platform/tests/core-aam/paragraph-manual.html new file mode 100644 index 0000000000..b79f61e0c6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/paragraph-manual.html @@ -0,0 +1,83 @@ +<!doctype html> +<html> + <head> + <title>paragraph</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", + "role", + "is", + "ROLE_PARAGRAPH" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_PARAGRAPH" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "paragraph" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for paragraph.</p> + <div role="paragraph" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/presentation-manual.html b/testing/web-platform/tests/core-aam/presentation-manual.html new file mode 100644 index 0000000000..c0cfa82549 --- /dev/null +++ b/testing/web-platform/tests/core-aam/presentation-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>presentation</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", + "accessible", + "is", + "false" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "presentation" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for presentation.</p> + <div role='presentation' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/presentation_used_on_element_that_is_focused_or_fires_event-manual.html b/testing/web-platform/tests/core-aam/presentation_used_on_element_that_is_focused_or_fires_event-manual.html new file mode 100644 index 0000000000..ac8c1ba037 --- /dev/null +++ b/testing/web-platform/tests/core-aam/presentation_used_on_element_that_is_focused_or_fires_event-manual.html @@ -0,0 +1,70 @@ +<!doctype html> +<html> + <head> + <title>presentation used on element that is focused or fires event</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", + "accessible", + "is", + "true" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "MSAA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ], + "UIA" : [ + [ + "property", + "accessible", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "presentation used on element that is focused or fires event" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for presentation used on element that is focused or fires event.</p> + <div id='test' role='presentation' tabindex='0'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/presentation_used_on_table_element_with_td_children-manual.html b/testing/web-platform/tests/core-aam/presentation_used_on_table_element_with_td_children-manual.html new file mode 100644 index 0000000000..9b8316dddc --- /dev/null +++ b/testing/web-platform/tests/core-aam/presentation_used_on_table_element_with_td_children-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>presentation used on table element with td children</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", + "role", + "is", + "ROLE_SECTION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "Control Type", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "presentation used on table element with td children" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for presentation used on table element with td children.</p> + <table role='presentation'> + <tr><td id='test' aria-label='name to force inclusion'>row 1, col 1</td><td>row 1, col 2</td></tr> + </table> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/presentation_used_on_ul_element_with_li_children-manual.html b/testing/web-platform/tests/core-aam/presentation_used_on_ul_element_with_li_children-manual.html new file mode 100644 index 0000000000..3214a3444e --- /dev/null +++ b/testing/web-platform/tests/core-aam/presentation_used_on_ul_element_with_li_children-manual.html @@ -0,0 +1,79 @@ +<!doctype html> +<html> + <head> + <title>presentation used on ul element with li children</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", + "role", + "is", + "ROLE_SECTION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "Control Type", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "presentation used on ul element with li children" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for presentation used on ul element with li children.</p> + <ul role='presentation'> + <li id='test' tabindex='0' aria-label='name to force inclusion'>item 1</li> + <li>item 2</li> + </ul> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/progressbar-manual.html b/testing/web-platform/tests/core-aam/progressbar-manual.html new file mode 100644 index 0000000000..8e95f370fe --- /dev/null +++ b/testing/web-platform/tests/core-aam/progressbar-manual.html @@ -0,0 +1,102 @@ +<!doctype html> +<html> + <head> + <title>progressbar</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", + "role", + "is", + "ROLE_PROGRESS_BAR" + ], + [ + "property", + "interfaces", + "contains", + "Value" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXProgressIndicator" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleValue" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_PROGRESSBAR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ProgressBar" + ], + [ + "property", + "Control Pattern", + "is", + "RangeValue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "progressbar" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for progressbar.</p> + <div role='progressbar' aria-valuenow='20' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/progressbar-no-min-or-max-manual.html b/testing/web-platform/tests/core-aam/progressbar-no-min-or-max-manual.html new file mode 100644 index 0000000000..379e44d41b --- /dev/null +++ b/testing/web-platform/tests/core-aam/progressbar-no-min-or-max-manual.html @@ -0,0 +1,93 @@ +<!doctype html> +<html> + <head> + <title>progressbar no min or max</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" : [ + [ + "result", + "atk_value_get_minimum_value()", + "is", + "0" + ], + [ + "result", + "atk_value_get_maximum_value()", + "is", + "100" + ] + ], + "AXAPI" : [ + [ + "property", + "AXMinValue", + "is", + "0" + ], + [ + "property", + "AXMaxValue", + "is", + "100" + ] + ], + "IAccessible2" : [ + [ + "property", + "minimumValue", + "is", + "0" + ], + [ + "property", + "maximumValue", + "is", + "100" + ] + ], + "UIA" : [ + [ + "result", + "RangeValue.Minimum", + "is", + "0" + ], + [ + "result", + "RangeValue.Maximum", + "is", + "100" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "progressbar no min or max" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for progressbar without a min or max.</p> + <div role="progressbar" aria-valuenow="20" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/radio-manual.html b/testing/web-platform/tests/core-aam/radio-manual.html new file mode 100644 index 0000000000..f8a7678e0f --- /dev/null +++ b/testing/web-platform/tests/core-aam/radio-manual.html @@ -0,0 +1,88 @@ +<!doctype html> +<html> + <head> + <title>radio</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", + "role", + "is", + "ROLE_RADIO_BUTTON" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXRadioButton" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_RADIOBUTTON" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "RadioButton" + ], + [ + "property", + "Control Pattern", + "is", + "Toggle" + ], + [ + "property", + "Control Pattern", + "is", + "SelectionItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "radio" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for radio.</p> + <div role='radio' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/radiogroup-manual.html b/testing/web-platform/tests/core-aam/radiogroup-manual.html new file mode 100644 index 0000000000..59f69c493a --- /dev/null +++ b/testing/web-platform/tests/core-aam/radiogroup-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>radiogroup</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", + "role", + "is", + "ROLE_PANEL" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXRadioGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "List" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "radiogroup" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for radiogroup.</p> + <div role='radiogroup' id='test'> + <div role='radio'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/region_with_an_accessible_name-manual.html b/testing/web-platform/tests/core-aam/region_with_an_accessible_name-manual.html new file mode 100644 index 0000000000..779168f35c --- /dev/null +++ b/testing/web-platform/tests/core-aam/region_with_an_accessible_name-manual.html @@ -0,0 +1,106 @@ +<!doctype html> +<html> + <head> + <title>region with an accessible name</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:region" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:region" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "region" + ], + [ + "property", + "Landmark Type", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "region" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "region with an accessible name" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for region with an accessible name.</p> + <div role='region' aria-label='name for region' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/region_without_an_accessible_name-manual.html b/testing/web-platform/tests/core-aam/region_without_an_accessible_name-manual.html new file mode 100644 index 0000000000..3148650618 --- /dev/null +++ b/testing/web-platform/tests/core-aam/region_without_an_accessible_name-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>region without an accessible name</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", + "role", + "is", + "ROLE_SECTION" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "region without an accessible name" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for region without an accessible name.</p> + <div role='region' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/row_inside_treegrid-manual.html b/testing/web-platform/tests/core-aam/row_inside_treegrid-manual.html new file mode 100644 index 0000000000..d2fbc88aad --- /dev/null +++ b/testing/web-platform/tests/core-aam/row_inside_treegrid-manual.html @@ -0,0 +1,92 @@ +<!doctype html> +<html> + <head> + <title>row inside treegrid</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", + "role", + "is", + "ROLE_TABLE_ROW" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXRow" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_OUTLINEITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "DataItem" + ], + [ + "property", + "LocalizedControlType", + "is", + "row" + ], + [ + "property", + "Control Pattern", + "is", + "SelectionItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "row inside treegrid" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for row inside treegrid.</p> + <div role='treegrid'> + <div role='row' id='test'> + <div role='gridcell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/row_not_inside_treegrid-manual.html b/testing/web-platform/tests/core-aam/row_not_inside_treegrid-manual.html new file mode 100644 index 0000000000..1a1ac879e6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/row_not_inside_treegrid-manual.html @@ -0,0 +1,92 @@ +<!doctype html> +<html> + <head> + <title>row not inside treegrid</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", + "role", + "is", + "ROLE_TABLE_ROW" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXRow" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_ROW" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "DataItem" + ], + [ + "property", + "LocalizedControlType", + "is", + "row" + ], + [ + "property", + "Control Pattern", + "is", + "SelectionItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "row not inside treegrid" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for row not inside treegrid.</p> + <div role='grid'> + <div role='row' id='test'> + <div role='gridcell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/rowgroup-manual.html b/testing/web-platform/tests/core-aam/rowgroup-manual.html new file mode 100644 index 0000000000..83efba8799 --- /dev/null +++ b/testing/web-platform/tests/core-aam/rowgroup-manual.html @@ -0,0 +1,79 @@ +<!doctype html> +<html> + <head> + <title>rowgroup</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", + "role", + "is", + "ROLE_PANEL" + ] + ], + "AXAPI" : [ + [ + "property", + "accessible", + "is", + "false" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "rowgroup" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for rowgroup.</p> + <div role='grid'> + <div role='rowgroup' id='test'> + <div role='row'> + <div role='cell'>content</div> + </div> + <div role='row'> + <div role='cell'>content</div> + </div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/rowgroup-no-name-from-contents-manual.html b/testing/web-platform/tests/core-aam/rowgroup-no-name-from-contents-manual.html new file mode 100644 index 0000000000..fb5292f2c2 --- /dev/null +++ b/testing/web-platform/tests/core-aam/rowgroup-no-name-from-contents-manual.html @@ -0,0 +1,79 @@ +<!doctype html> +<html> + <head> + <title>rowgroup no name from contents</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" : "rowgroup no name from contents" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for rowgroup with no author-provided name.</p> + <div role='grid'> + <div role='rowgroup' id='test'> + <div role='row'> + <div role='cell'>content</div> + </div> + <div role='row'> + <div role='cell'>content</div> + </div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/rowheader-manual.html b/testing/web-platform/tests/core-aam/rowheader-manual.html new file mode 100644 index 0000000000..64eb930a75 --- /dev/null +++ b/testing/web-platform/tests/core-aam/rowheader-manual.html @@ -0,0 +1,94 @@ +<!doctype html> +<html> + <head> + <title>rowheader</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", + "role", + "is", + "ROLE_ROW_HEADER" + ], + [ + "property", + "interfaces", + "contains", + "TableCell" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXCell" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleTableCell" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_ROWHEADER" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "HeaderItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "rowheader" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for rowheader.</p> + <div role='grid'> + <div role='row'> + <div role='rowheader' id='test'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/scrollbar-manual.html b/testing/web-platform/tests/core-aam/scrollbar-manual.html new file mode 100644 index 0000000000..e12c6b4a77 --- /dev/null +++ b/testing/web-platform/tests/core-aam/scrollbar-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>scrollbar</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", + "role", + "is", + "ROLE_SCROLL_BAR" + ], + [ + "property", + "interfaces", + "contains", + "Value" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXScrollBar" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleValue" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SCROLLBAR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ScrollBar" + ], + [ + "property", + "Control Pattern", + "is", + "RangeValue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "scrollbar" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for scrollbar.</p> + <div role='scrollbar' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/search-manual.html b/testing/web-platform/tests/core-aam/search-manual.html new file mode 100644 index 0000000000..88993dfc2f --- /dev/null +++ b/testing/web-platform/tests/core-aam/search-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>search</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", + "role", + "is", + "ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:search" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkSearch" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:search" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "search" + ], + [ + "property", + "Landmark Type", + "is", + "Search" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "search" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for search.</p> + <div role='search' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/searchbox-manual.html b/testing/web-platform/tests/core-aam/searchbox-manual.html new file mode 100644 index 0000000000..150a6dfb84 --- /dev/null +++ b/testing/web-platform/tests/core-aam/searchbox-manual.html @@ -0,0 +1,102 @@ +<!doctype html> +<html> + <head> + <title>searchbox</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", + "role", + "is", + "ROLE_ENTRY" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:searchbox" + ], + [ + "property", + "interfaces", + "contains", + "EditableText" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXTextField" + ], + [ + "property", + "AXSubrole", + "is", + "AXSearchField" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "text-input-type:search" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TEXT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Edit" + ], + [ + "property", + "LocalizedControlType", + "is", + "search box" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "searchbox" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for searchbox.</p> + <div role='searchbox' contenteditable id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/separator_focusable-manual.html b/testing/web-platform/tests/core-aam/separator_focusable-manual.html new file mode 100644 index 0000000000..67bf48919d --- /dev/null +++ b/testing/web-platform/tests/core-aam/separator_focusable-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>separator 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", + "role", + "is", + "ROLE_SEPARATOR" + ], + [ + "property", + "interfaces", + "contains", + "Value" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXSplitter" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleValue" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SEPARATOR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Thumb" + ], + [ + "property", + "Control Pattern", + "is", + "RangeValue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "separator focusable" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for separator focusable.</p> + <div role='separator' tabindex='0' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/separator_non-focusable-manual.html b/testing/web-platform/tests/core-aam/separator_non-focusable-manual.html new file mode 100644 index 0000000000..3629ce3122 --- /dev/null +++ b/testing/web-platform/tests/core-aam/separator_non-focusable-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>separator non-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", + "role", + "is", + "ROLE_SEPARATOR" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXSplitter" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SEPARATOR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Separator" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "separator non-focusable" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for separator non-focusable.</p> + <div role='separator' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/slider-manual.html b/testing/web-platform/tests/core-aam/slider-manual.html new file mode 100644 index 0000000000..03eb7291d3 --- /dev/null +++ b/testing/web-platform/tests/core-aam/slider-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>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", + "role", + "is", + "ROLE_SLIDER" + ], + [ + "property", + "interfaces", + "contains", + "Value" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXSlider" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleValue" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SLIDER" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Slider" + ], + [ + "property", + "Control Pattern", + "is", + "RangeValue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "slider" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for slider.</p> + <div role='slider' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/spinbutton-manual.html b/testing/web-platform/tests/core-aam/spinbutton-manual.html new file mode 100644 index 0000000000..601367927b --- /dev/null +++ b/testing/web-platform/tests/core-aam/spinbutton-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>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", + "role", + "is", + "ROLE_SPIN_BUTTON" + ], + [ + "property", + "interfaces", + "contains", + "Value" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXIncrementor" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleValue" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SPINBUTTON" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Spinner" + ], + [ + "property", + "Control Pattern", + "is", + "RangeValue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "spinbutton" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for spinbutton.</p> + <div role='spinbutton' id='test'>10</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/status-manual.html b/testing/web-platform/tests/core-aam/status-manual.html new file mode 100644 index 0000000000..9e52bba234 --- /dev/null +++ b/testing/web-platform/tests/core-aam/status-manual.html @@ -0,0 +1,126 @@ +<!doctype html> +<html> + <head> + <title>status</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", + "role", + "is", + "ROLE_STATUSBAR" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live-role:status" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationStatus" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "container-live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "live:polite" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live-role:status" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_STATUSBAR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "status" + ], + [ + "property", + "LiveSetting", + "is", + "Polite (1)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "status" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for status.</p> + <div role='status' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/strong-manual.html b/testing/web-platform/tests/core-aam/strong-manual.html new file mode 100644 index 0000000000..0d1f6bf506 --- /dev/null +++ b/testing/web-platform/tests/core-aam/strong-manual.html @@ -0,0 +1,93 @@ +<!doctype html> +<html> + <head> + <title>strong</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", + "role", + "is", + "ROLE_STATIC" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:strong" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXStrongStyleGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TEXT_FRAME" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:strong" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "strong" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "strong" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for strong.</p> + <div role="strong" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/subscript-manual.html b/testing/web-platform/tests/core-aam/subscript-manual.html new file mode 100644 index 0000000000..d445f896c6 --- /dev/null +++ b/testing/web-platform/tests/core-aam/subscript-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>subscript</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", + "role", + "is", + "ROLE_SUBSCRIPT" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXSubscriptStyleGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TEXT_FRAME" + ], + [ + "property", + "textAttributes", + "contains", + "text-position:sub" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "TextRange.IsSubscript", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "subscript" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for subscript.</p> + <div role="subscript" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/suggestion-manual.html b/testing/web-platform/tests/core-aam/suggestion-manual.html new file mode 100644 index 0000000000..f31bcab8de --- /dev/null +++ b/testing/web-platform/tests/core-aam/suggestion-manual.html @@ -0,0 +1,87 @@ +<!doctype html> +<html> + <head> + <title>suggestion</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", + "role", + "is", + "ROLE_SUGGESTION" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:suggestion" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "result", + "AXAttributedStringForTextMarkerRange" + "contains", + "AXIsSuggestion" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_SUGGESTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "suggestion" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "suggestion" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for suggestion.</p> + <div role="suggestion" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/superscript-manual.html b/testing/web-platform/tests/core-aam/superscript-manual.html new file mode 100644 index 0000000000..5863f9b188 --- /dev/null +++ b/testing/web-platform/tests/core-aam/superscript-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>superscript</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", + "role", + "is", + "ROLE_SUPERSCRIPT" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXSuperscriptStyleGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TEXT_FRAME" + ], + [ + "property", + "textAttributes", + "contains", + "text-position:super" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "TextRange.IsSuperscript", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "superscript" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for superscript.</p> + <div role="superscript" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/switch-manual.html b/testing/web-platform/tests/core-aam/switch-manual.html new file mode 100644 index 0000000000..77a1add039 --- /dev/null +++ b/testing/web-platform/tests/core-aam/switch-manual.html @@ -0,0 +1,108 @@ +<!doctype html> +<html> + <head> + <title>switch</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", + "role", + "is", + "ROLE_TOGGLE_BUTTON" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:switch" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXCheckBox" + ], + [ + "property", + "AXSubrole", + "is", + "AXSwitch" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TOGGLE_BUTTON" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:switch" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_CHECKBUTTON" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Button" + ], + [ + "property", + "LocalizedControlType", + "is", + "toggleswitch" + ], + [ + "property", + "Control Pattern", + "is", + "Toggle" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "switch" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for switch.</p> + <div role='switch' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/tab-manual.html b/testing/web-platform/tests/core-aam/tab-manual.html new file mode 100644 index 0000000000..89b8b48c56 --- /dev/null +++ b/testing/web-platform/tests/core-aam/tab-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>tab</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", + "role", + "is", + "ROLE_PAGE_TAB" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXRadioButton" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_PAGETAB" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "TabItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "tab" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for tab.</p> + <div role='tablist'> + <div role='tab' id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/table-manual.html b/testing/web-platform/tests/core-aam/table-manual.html new file mode 100644 index 0000000000..4e924f092b --- /dev/null +++ b/testing/web-platform/tests/core-aam/table-manual.html @@ -0,0 +1,145 @@ +<!doctype html> +<html> + <head> + <title>table</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", + "role", + "is", + "ROLE_TABLE" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:table" + ], + [ + "property", + "interfaces", + "contains", + "Table" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXTable" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXColumnHeaderUIElements", + "is", + "[colheader1, colheader2]" + ], + [ + "property", + "AXHeader", + "is", + "AXGroup" + ], + [ + "property", + "AXRowHeaderUIElements", + "is", + "[rowheader1, rowheader2]" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:table" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleTable2" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TABLE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Table" + ], + [ + "property", + "Control Pattern", + "is", + "Grid" + ], + [ + "property", + "Control Pattern", + "is", + "Table" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "table" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for table.</p> + <div role='table' id='test'> + <div role='row' id='headerrow'> + <div role='columnheader' id='colheader1'>content</div> + <div role='columnheader' id='colheader2'>content</div> + </div> + <div role='row'> + <div role='rowheader' id='rowheader1'>content</div> + <div role='cell'>content</div> + </div> + <div role='row'> + <div role='rowheader' id='rowheader2'>content</div> + <div role='cell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/tablist-level-not-supported-manual.html b/testing/web-platform/tests/core-aam/tablist-level-not-supported-manual.html new file mode 100644 index 0000000000..5b8cedf39f --- /dev/null +++ b/testing/web-platform/tests/core-aam/tablist-level-not-supported-manual.html @@ -0,0 +1,72 @@ +<!doctype html> +<html> + <head> + <title>tablist level not supported</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", + "objectAttributes", + "doesNotContain", + "level:2" + ] + ], + "AXAPI" : [ + [ + "property", + "AXValue", + "isNot", + "2" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "doesNotContain", + "level:2" + ] + ], + "UIA" : [ + [ + "property", + "AriaProperties.level", + "isNot", + "2" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "tablist level not supported" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for tablist with author-provided level.</p> + <div role='tablist' id='test' aria-level='2'> + <div role='tab'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/tablist-manual.html b/testing/web-platform/tests/core-aam/tablist-manual.html new file mode 100644 index 0000000000..8aff52f205 --- /dev/null +++ b/testing/web-platform/tests/core-aam/tablist-manual.html @@ -0,0 +1,140 @@ +<!doctype html> +<html> + <head> + <title>tablist</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", + "role", + "is", + "ROLE_PAGE_TAB_LIST" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "container-live:polite" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "live:polite" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "container-live-role:tablist" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXTabGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "container-live:polite" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "live:polite" + ], + [ + "property", + "objectAttributes", + "doesNotContain", + "container-live-role:tablist" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_PAGETABLIST" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Tab" + ], + [ + "property", + "Control Pattern", + "is", + "Selection" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "tablist" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for tablist.</p> + <div role='tablist' id='test'> + <div role='tab'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/tabpanel-manual.html b/testing/web-platform/tests/core-aam/tabpanel-manual.html new file mode 100644 index 0000000000..a487e364de --- /dev/null +++ b/testing/web-platform/tests/core-aam/tabpanel-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>tabpanel</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", + "role", + "is", + "ROLE_SCROLL_PANE" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXTabPanel" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_PANE or ROLE_SYSTEM_PROPERTYPAGE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Pane" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "tabpanel" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for tabpanel.</p> + <div role='tabpanel' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/term-manual.html b/testing/web-platform/tests/core-aam/term-manual.html new file mode 100644 index 0000000000..1516a1d4a0 --- /dev/null +++ b/testing/web-platform/tests/core-aam/term-manual.html @@ -0,0 +1,88 @@ +<!doctype html> +<html> + <head> + <title>term</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", + "role", + "is", + "ROLE_DESCRIPTION_TERM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXTerm" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TEXT_FRAME" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:term" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "term" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "term" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for term.</p> + <div role='term' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/textbox_when_aria-multiline_is_false-manual.html b/testing/web-platform/tests/core-aam/textbox_when_aria-multiline_is_false-manual.html new file mode 100644 index 0000000000..acc1184dbb --- /dev/null +++ b/testing/web-platform/tests/core-aam/textbox_when_aria-multiline_is_false-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>textbox when aria-multiline is false</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", + "role", + "is", + "ROLE_ENTRY" + ], + [ + "property", + "states", + "contains", + "STATE_SINGLE_LINE" + ], + [ + "property", + "interfaces", + "contains", + "EditableText" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXTextField" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_SINGLE_LINE" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TEXT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Edit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "textbox when aria-multiline is false" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for textbox when aria-multiline is false.</p> + <div role='textbox' contenteditable aria-multiline='false' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/textbox_when_aria-multiline_is_true-manual.html b/testing/web-platform/tests/core-aam/textbox_when_aria-multiline_is_true-manual.html new file mode 100644 index 0000000000..afd741b42b --- /dev/null +++ b/testing/web-platform/tests/core-aam/textbox_when_aria-multiline_is_true-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>textbox when aria-multiline is true</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", + "role", + "is", + "ROLE_ENTRY" + ], + [ + "property", + "states", + "contains", + "STATE_MULTI_LINE" + ], + [ + "property", + "interfaces", + "contains", + "EditableText" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXTextArea" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "states", + "contains", + "IA2_STATE_MULTI_LINE" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TEXT" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Edit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "textbox when aria-multiline is true" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for textbox when aria-multiline is true.</p> + <div role='textbox' contenteditable aria-multiline='true' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/time-manual.html b/testing/web-platform/tests/core-aam/time-manual.html new file mode 100644 index 0000000000..542015953b --- /dev/null +++ b/testing/web-platform/tests/core-aam/time-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>time</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", + "role", + "is", + "ROLE_STATIC" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:time" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXTimeGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:time" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "time" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "time" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for time.</p> + <div role="time" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/timer-manual.html b/testing/web-platform/tests/core-aam/timer-manual.html new file mode 100644 index 0000000000..3e037ea82a --- /dev/null +++ b/testing/web-platform/tests/core-aam/timer-manual.html @@ -0,0 +1,124 @@ +<!doctype html> +<html> + <head> + <title>timer</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", + "role", + "is", + "ROLE_TIMER" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live-role:timer" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationTimer" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:timer" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "live:off" + ], + [ + "property", + "objectAttributes", + "contains", + "container-live-role:timer" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Group" + ], + [ + "property", + "LocalizedControlType", + "is", + "timer" + ], + [ + "property", + "LiveSetting", + "is", + "Off (0)" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "timer" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for timer.</p> + <div role='timer' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/toolbar-manual.html b/testing/web-platform/tests/core-aam/toolbar-manual.html new file mode 100644 index 0000000000..85cbae6355 --- /dev/null +++ b/testing/web-platform/tests/core-aam/toolbar-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>toolbar</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", + "role", + "is", + "ROLE_TOOL_BAR" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXToolbar" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TOOLBAR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ToolBar" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "toolbar" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for toolbar.</p> + <div role='toolbar' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/tooltip-manual.html b/testing/web-platform/tests/core-aam/tooltip-manual.html new file mode 100644 index 0000000000..b6f9158d4f --- /dev/null +++ b/testing/web-platform/tests/core-aam/tooltip-manual.html @@ -0,0 +1,76 @@ +<!doctype html> +<html> + <head> + <title>tooltip</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", + "role", + "is", + "ROLE_TOOL_TIP" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXUserInterfaceTooltip" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_TOOLTIP" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "ToolTip" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "tooltip" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for tooltip.</p> + <div role='tooltip' id='test'>content</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/tree-manual.html b/testing/web-platform/tests/core-aam/tree-manual.html new file mode 100644 index 0000000000..86fb39bd00 --- /dev/null +++ b/testing/web-platform/tests/core-aam/tree-manual.html @@ -0,0 +1,98 @@ +<!doctype html> +<html> + <head> + <title>tree</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", + "role", + "is", + "ROLE_TREE" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXOutline" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_OUTLINE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Tree" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "tree" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for tree.</p> + <div role='tree' id='test'> + <div role='treeitem'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/treegrid-manual.html b/testing/web-platform/tests/core-aam/treegrid-manual.html new file mode 100644 index 0000000000..132d4048de --- /dev/null +++ b/testing/web-platform/tests/core-aam/treegrid-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>treegrid</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", + "role", + "is", + "ROLE_TREE_TABLE" + ], + [ + "property", + "interfaces", + "contains", + "Table" + ], + [ + "property", + "interfaces", + "contains", + "Selection" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXTable" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ] + ], + "IAccessible2" : [ + [ + "property", + "interfaces", + "contains", + "IAccessibleTable2" + ], + [ + "result", + "IAccessible::accSelect()", + "is", + "TBD" + ], + [ + "result", + "IAccessible::get_accSelection()", + "is", + "TBD" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_OUTLINE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "DataGrid" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "treegrid" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for treegrid.</p> + <div role='treegrid' id='test'> + <div role='row'> + <div role='gridcell'>content</div> + </div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> diff --git a/testing/web-platform/tests/core-aam/treeitem-manual.html b/testing/web-platform/tests/core-aam/treeitem-manual.html new file mode 100644 index 0000000000..1ade1c122b --- /dev/null +++ b/testing/web-platform/tests/core-aam/treeitem-manual.html @@ -0,0 +1,78 @@ +<!doctype html> +<html> + <head> + <title>treeitem</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", + "role", + "is", + "ROLE_TREE_ITEM" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXRow" + ], + [ + "property", + "AXSubrole", + "is", + "AXOutlineRow" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_OUTLINEITEM" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "TreeItem" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "treeitem" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for treeitem.</p> + <div role='tree'> + <div role='treeitem' id='test'>content</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> |