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/core-aam/aria-checked_value_changes-manual.html | |
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 'testing/web-platform/tests/core-aam/aria-checked_value_changes-manual.html')
-rw-r--r-- | testing/web-platform/tests/core-aam/aria-checked_value_changes-manual.html | 135 |
1 files changed, 135 insertions, 0 deletions
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> |