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