diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/dpub-aam | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
41 files changed, 4338 insertions, 0 deletions
diff --git a/testing/web-platform/tests/dpub-aam/META.yml b/testing/web-platform/tests/dpub-aam/META.yml new file mode 100644 index 0000000000..a382778f37 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/META.yml @@ -0,0 +1,4 @@ +spec: https://w3c.github.io/dpub-aam/ +suggested_reviewers: + - halindrome + - joanmarie diff --git a/testing/web-platform/tests/dpub-aam/README.md b/testing/web-platform/tests/dpub-aam/README.md new file mode 100644 index 0000000000..2805b143bd --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/README.md @@ -0,0 +1,64 @@ +dpub-aam: Tests for the DPUB-ARIA Accessibility Mapping Recommendation +====================================================================== + +The [DPUB ARIA Recommendation](https://www.w3.org/TR/dpub-aam-1.0) +define extensions to HTML4/5 for support of extended semantics. These +semantics make it easier for Assistive Technologies to interpret and +present content to users with varying physical and cognitive abilities. + +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 and select the dpub-aam tests to be run + (e.g., the DPUB AAM 1.0 tests) - 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 with proceed + without user intervention. In a manual test, some user input may be required + in order to stimulate the test. +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. + + +Writing Tests +------------- + +If you are interested in writing tests for this environment, see the +associated [CONTRIBUTING](CONTRIBUTING.md) document. diff --git a/testing/web-platform/tests/dpub-aam/doc-abstract-manual.html b/testing/web-platform/tests/dpub-aam/doc-abstract-manual.html new file mode 100644 index 0000000000..b67c7fa424 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-abstract-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-abstract</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-abstract" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-abstract" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "abstract" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-abstract" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-abstract.</p> + <div role="doc-abstract" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-acknowledgments-manual.html b/testing/web-platform/tests/dpub-aam/doc-acknowledgments-manual.html new file mode 100644 index 0000000000..fad68aea0f --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-acknowledgments-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-acknowledgments</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-acknowledgments" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-acknowledgments" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "acknowledgments" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "acknowledgments" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-acknowledgments" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-acknowledgments.</p> + <div role="doc-acknowledgments" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-afterword-manual.html b/testing/web-platform/tests/dpub-aam/doc-afterword-manual.html new file mode 100644 index 0000000000..2a1f84b19c --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-afterword-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-afterword</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-afterword" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-afterword" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "afterword" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "afterword" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-afterword" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-afterword.</p> + <div role="doc-afterword" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-appendix-manual.html b/testing/web-platform/tests/dpub-aam/doc-appendix-manual.html new file mode 100644 index 0000000000..c0ec8c815f --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-appendix-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-appendix</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-appendix" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-appendix" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "appendix" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "appendix" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-appendix" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-appendix.</p> + <div role="doc-appendix" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-backlink-manual.html b/testing/web-platform/tests/dpub-aam/doc-backlink-manual.html new file mode 100644 index 0000000000..fc4b4fac7a --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-backlink-manual.html @@ -0,0 +1,132 @@ +<!doctype html> +<html> + <head> + <title>doc-backlink</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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", + "objectAttributes", + "contains", + "xml-roles:doc-backlink" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXLink" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "link" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-backlink" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleHypertext2" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LINK" + ], + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "backlink" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "doc-backlink" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-backlink.</p> + <div role="doc-backlink" id="test"> + <div id="child">child 1</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-biblioentry-manual.html b/testing/web-platform/tests/dpub-aam/doc-biblioentry-manual.html new file mode 100644 index 0000000000..160bf10568 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-biblioentry-manual.html @@ -0,0 +1,108 @@ +<!doctype html> +<html> + <head> + <title>doc-biblioentry</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-biblioentry" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-biblioentry" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LISTITEM" + ], + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "biblioentry" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-biblioentry" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-biblioentry.</p> + <div role="doc-biblioentry" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-bibliography-manual.html b/testing/web-platform/tests/dpub-aam/doc-bibliography-manual.html new file mode 100644 index 0000000000..b5eedf1c44 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-bibliography-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-bibliography</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-bibliography" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-bibliography" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "bibliography" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "bibliography" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-bibliography" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-bibliography.</p> + <div role="doc-bibliography" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-biblioref-manual.html b/testing/web-platform/tests/dpub-aam/doc-biblioref-manual.html new file mode 100644 index 0000000000..860f1efc4c --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-biblioref-manual.html @@ -0,0 +1,132 @@ +<!doctype html> +<html> + <head> + <title>doc-biblioref</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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", + "objectAttributes", + "contains", + "xml-roles:doc-biblioref" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXLink" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "link" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-biblioref" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleHypertext2" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LINK" + ], + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "biblioref" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "doc-biblioref" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-biblioref.</p> + <div role="doc-biblioref" id="test"> + <div id="child">child 1</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-chapter-manual.html b/testing/web-platform/tests/dpub-aam/doc-chapter-manual.html new file mode 100644 index 0000000000..1a4e95e87b --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-chapter-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-chapter</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-chapter" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-chapter" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "chapter" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "chapter" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-chapter" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-chapter.</p> + <div role="doc-chapter" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-colophon-manual.html b/testing/web-platform/tests/dpub-aam/doc-colophon-manual.html new file mode 100644 index 0000000000..78ae8edae7 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-colophon-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-colophon</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-colophon" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-colophon" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "colophon" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-colophon" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-colophon.</p> + <div role="doc-colophon" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-conclusion-manual.html b/testing/web-platform/tests/dpub-aam/doc-conclusion-manual.html new file mode 100644 index 0000000000..6ad672ef00 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-conclusion-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-conclusion</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-conclusion" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-conclusion" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "conclusion" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "conclusion" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-conclusion" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-conclusion.</p> + <div role="doc-conclusion" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-cover-manual.html b/testing/web-platform/tests/dpub-aam/doc-cover-manual.html new file mode 100644 index 0000000000..4c2da2f9bd --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-cover-manual.html @@ -0,0 +1,96 @@ +<!doctype html> +<html> + <head> + <title>doc-cover</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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", + "objectAttributes", + "contains", + "xml-roles:doc-cover" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXImage" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "image" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-cover" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GRAPHIC" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Image" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-cover" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-cover.</p> + <div role="doc-cover" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-credit-manual.html b/testing/web-platform/tests/dpub-aam/doc-credit-manual.html new file mode 100644 index 0000000000..a3774d39ed --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-credit-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-credit</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-credit" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-credit" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "credit" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-credit" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-credit.</p> + <div role="doc-credit" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-credits-manual.html b/testing/web-platform/tests/dpub-aam/doc-credits-manual.html new file mode 100644 index 0000000000..f0eb11109e --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-credits-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-credits</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-credits" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-credits" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "credits" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "credits" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-credits" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-credits.</p> + <div role="doc-credits" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-dedication-manual.html b/testing/web-platform/tests/dpub-aam/doc-dedication-manual.html new file mode 100644 index 0000000000..20d83487cd --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-dedication-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-dedication</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-dedication" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-dedication" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "dedication" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-dedication" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-dedication.</p> + <div role="doc-dedication" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-endnote-manual.html b/testing/web-platform/tests/dpub-aam/doc-endnote-manual.html new file mode 100644 index 0000000000..43dd4b529b --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-endnote-manual.html @@ -0,0 +1,108 @@ +<!doctype html> +<html> + <head> + <title>doc-endnote</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-endnote" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-endnote" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LISTITEM" + ], + [ + "property", + "states", + "contains", + "STATE_SYSTEM_READONLY" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "endnote" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-endnote" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-endnote.</p> + <div role="doc-endnote" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-endnotes-manual.html b/testing/web-platform/tests/dpub-aam/doc-endnotes-manual.html new file mode 100644 index 0000000000..11365c0645 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-endnotes-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-endnotes</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-endnotes" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-endnotes" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "endnotes" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "endnotes" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-endnotes" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-endnotes.</p> + <div role="doc-endnotes" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-epigraph-manual.html b/testing/web-platform/tests/dpub-aam/doc-epigraph-manual.html new file mode 100644 index 0000000000..7e1e038649 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-epigraph-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-epigraph</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-epigraph" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-epigraph" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "epigraph" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-epigraph" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-epigraph.</p> + <div role="doc-epigraph" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-epilogue-manual.html b/testing/web-platform/tests/dpub-aam/doc-epilogue-manual.html new file mode 100644 index 0000000000..f00613c641 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-epilogue-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-epilogue</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-epilogue" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-epilogue" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "epilogue" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "epilogue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-epilogue" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-epilogue.</p> + <div role="doc-epilogue" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-errata-manual.html b/testing/web-platform/tests/dpub-aam/doc-errata-manual.html new file mode 100644 index 0000000000..e37fe92bdb --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-errata-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-errata</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-errata" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-errata" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "errata" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "errata" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-errata" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-errata.</p> + <div role="doc-errata" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-example-manual.html b/testing/web-platform/tests/dpub-aam/doc-example-manual.html new file mode 100644 index 0000000000..32c32d812c --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-example-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-example</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-example" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-example" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "example" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-example" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-example.</p> + <div role="doc-example" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-footnote-manual.html b/testing/web-platform/tests/dpub-aam/doc-footnote-manual.html new file mode 100644 index 0000000000..c865fa1016 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-footnote-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-footnote</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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_FOOTNOTE" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-footnote" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-footnote" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_FOOTNOTE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "footnote" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-footnote" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-footnote.</p> + <div role="doc-footnote" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-foreword-manual.html b/testing/web-platform/tests/dpub-aam/doc-foreword-manual.html new file mode 100644 index 0000000000..2774b50ef9 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-foreword-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-foreword</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-foreword" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-foreword" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "foreword" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "foreword" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-foreword" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-foreword.</p> + <div role="doc-foreword" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-glossary-manual.html b/testing/web-platform/tests/dpub-aam/doc-glossary-manual.html new file mode 100644 index 0000000000..8a5baeef63 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-glossary-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-glossary</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-glossary" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-glossary" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "glossary" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "glossary" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-glossary" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-glossary.</p> + <div role="doc-glossary" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-glossref-manual.html b/testing/web-platform/tests/dpub-aam/doc-glossref-manual.html new file mode 100644 index 0000000000..99b8edd217 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-glossref-manual.html @@ -0,0 +1,132 @@ +<!doctype html> +<html> + <head> + <title>doc-glossref</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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", + "objectAttributes", + "contains", + "xml-roles:doc-glossref" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXLink" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "link" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-glossref" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleHypertext2" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LINK" + ], + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "glossref" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "doc-glossref" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-glossref.</p> + <div role="doc-glossref" id="test"> + <div id="child">child 1</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-index-manual.html b/testing/web-platform/tests/dpub-aam/doc-index-manual.html new file mode 100644 index 0000000000..39491e0313 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-index-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-index</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-index" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkNavigation" + ], + [ + "property", + "AXRoleDescription", + "is", + "navigation" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-index" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "index" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "index" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-index" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-index.</p> + <div role="doc-index" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-introduction-manual.html b/testing/web-platform/tests/dpub-aam/doc-introduction-manual.html new file mode 100644 index 0000000000..fadf2d97f5 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-introduction-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-introduction</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-introduction" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-introduction" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "introduction" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "introduction" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-introduction" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-introduction.</p> + <div role="doc-introduction" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-noteref-manual.html b/testing/web-platform/tests/dpub-aam/doc-noteref-manual.html new file mode 100644 index 0000000000..3f053bce69 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-noteref-manual.html @@ -0,0 +1,132 @@ +<!doctype html> +<html> + <head> + <title>doc-noteref</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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", + "objectAttributes", + "contains", + "xml-roles:doc-noteref" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXLink" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "link" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-noteref" + ], + [ + "property", + "interfaces", + "contains", + "IAccessibleHypertext2" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_LINK" + ], + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "noteref" + ] + ] + }, + "title" : "step 1", + "type" : "test" + }, + { + "element" : "child", + "test" : { + "MSAA" : [ + [ + "property", + "states", + "contains", + "STATE_LINKED" + ] + ], + "UIA" : [] + }, + "title" : "step 2", + "type" : "test" + } + ], + "title" : "doc-noteref" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-noteref.</p> + <div role="doc-noteref" id="test"> + <div id="child">child 1</div> + </div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-notice-manual.html b/testing/web-platform/tests/dpub-aam/doc-notice-manual.html new file mode 100644 index 0000000000..0656b539d6 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-notice-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-notice</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-notice" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDocumentNote" + ], + [ + "property", + "AXRoleDescription", + "is", + "note" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-notice" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_NOTE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "notice" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-notice" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-notice.</p> + <div role="doc-notice" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-pagebreak-manual.html b/testing/web-platform/tests/dpub-aam/doc-pagebreak-manual.html new file mode 100644 index 0000000000..2390948318 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-pagebreak-manual.html @@ -0,0 +1,102 @@ +<!doctype html> +<html> + <head> + <title>doc-pagebreak</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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", + "objectAttributes", + "contains", + "xml-roles:doc-pagebreak" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXSplitter" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "splitter" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-pagebreak" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SEPARATOR" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "pagebreak" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-pagebreak" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-pagebreak.</p> + <div role="doc-pagebreak" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-pagelist-manual.html b/testing/web-platform/tests/dpub-aam/doc-pagelist-manual.html new file mode 100644 index 0000000000..33993fe847 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-pagelist-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-pagelist</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-pagelist" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkNavigation" + ], + [ + "property", + "AXRoleDescription", + "is", + "navigation" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-pagelist" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "pagelist" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "pagelist" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-pagelist" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-pagelist.</p> + <div role="doc-pagelist" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-part-manual.html b/testing/web-platform/tests/dpub-aam/doc-part-manual.html new file mode 100644 index 0000000000..997be1e4a8 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-part-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-part</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-part" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-part" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "part" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "part" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-part" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-part.</p> + <div role="doc-part" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-preface-manual.html b/testing/web-platform/tests/dpub-aam/doc-preface-manual.html new file mode 100644 index 0000000000..8ed5d3b153 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-preface-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-preface</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-preface" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-preface" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "preface" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "preface" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-preface" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-preface.</p> + <div role="doc-preface" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-prologue-manual.html b/testing/web-platform/tests/dpub-aam/doc-prologue-manual.html new file mode 100644 index 0000000000..b806c2e965 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-prologue-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-prologue</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-prologue" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkRegion" + ], + [ + "property", + "AXRoleDescription", + "is", + "region" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-prologue" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "prologue" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "prologue" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-prologue" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-prologue.</p> + <div role="doc-prologue" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-pullquote-manual.html b/testing/web-platform/tests/dpub-aam/doc-pullquote-manual.html new file mode 100644 index 0000000000..b52c970df7 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-pullquote-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-pullquote</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-pullquote" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-pullquote" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "pullquote" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-pullquote" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-pullquote.</p> + <div role="doc-pullquote" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-qna-manual.html b/testing/web-platform/tests/dpub-aam/doc-qna-manual.html new file mode 100644 index 0000000000..a334d64939 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-qna-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-qna</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-qna" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXApplicationGroup" + ], + [ + "property", + "AXRoleDescription", + "is", + "group" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-qna" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_SECTION" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "qna" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-qna" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-qna.</p> + <div role="doc-qna" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-subtitle-manual.html b/testing/web-platform/tests/dpub-aam/doc-subtitle-manual.html new file mode 100644 index 0000000000..217f61284c --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-subtitle-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-subtitle</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-subtitle" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXHeading" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "heading" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-subtitle" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_HEADING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "subtitle" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-subtitle" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-subtitle.</p> + <div role="doc-subtitle" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-tip-manual.html b/testing/web-platform/tests/dpub-aam/doc-tip-manual.html new file mode 100644 index 0000000000..dda02b6798 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-tip-manual.html @@ -0,0 +1,100 @@ +<!doctype html> +<html> + <head> + <title>doc-tip</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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" + ], + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-tip" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXDocumentNote" + ], + [ + "property", + "AXRoleDescription", + "is", + "note" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-tip" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_NOTE" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "tip" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-tip" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-tip.</p> + <div role="doc-tip" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + diff --git a/testing/web-platform/tests/dpub-aam/doc-toc-manual.html b/testing/web-platform/tests/dpub-aam/doc-toc-manual.html new file mode 100644 index 0000000000..a06a58dfa6 --- /dev/null +++ b/testing/web-platform/tests/dpub-aam/doc-toc-manual.html @@ -0,0 +1,112 @@ +<!doctype html> +<html> + <head> + <title>doc-toc</title> + <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/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:doc-toc" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXLandmarkNavigation" + ], + [ + "property", + "AXRoleDescription", + "is", + "navigation" + ] + ], + "IAccessible2" : [ + [ + "property", + "objectAttributes", + "contains", + "xml-roles:doc-toc" + ], + [ + "property", + "role", + "is", + "IA2_ROLE_LANDMARK" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "LocalizedControlType", + "is", + "toc" + ], + [ + "property", + "landmarkType", + "is", + "Custom" + ], + [ + "property", + "LocalizedLandmarkType", + "is", + "toc" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "doc-toc" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for doc-toc.</p> + <div role="doc-toc" id="test">Text</div> + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> + |