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/table-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/table-manual.html | 145 |
1 files changed, 145 insertions, 0 deletions
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> |