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-modal_false-manual.html | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.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-modal_false-manual.html')
-rw-r--r-- | testing/web-platform/tests/core-aam/aria-modal_false-manual.html | 78 |
1 files changed, 78 insertions, 0 deletions
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> |