diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/html-aam/roles-generic.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/html-aam/roles-generic.html')
-rw-r--r-- | testing/web-platform/tests/html-aam/roles-generic.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html-aam/roles-generic.html b/testing/web-platform/tests/html-aam/roles-generic.html new file mode 100644 index 0000000000..e6ff46b066 --- /dev/null +++ b/testing/web-platform/tests/html-aam/roles-generic.html @@ -0,0 +1,43 @@ +<!doctype html> +<html> +<head> + <title>HTML-AAM Generic Role Verification Tests</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testdriver.js"></script> + <script src="/resources/testdriver-vendor.js"></script> + <script src="/resources/testdriver-actions.js"></script> + <script src="/wai-aria/scripts/aria-utils.js"></script> +</head> +<body> + + +<p>Tests ONLY the <code>generic</code> mappings defined in <a href="https://w3c.github.io/html-aam/">HTML-AAM</a>. Most test names correspond to a unique ID defined in the spec.<p> + +<p>These should remain in alphabetical order by tagname.</p> + +<!-- a -> ./roles-contextual.html --> +<!-- aside -> ./roles-contextual.html --> +<b data-testname="el-b" class="ex-generic">x</b> +<bdi data-testname="el-bdi" class="ex-generic">x</bdi> +<bdo data-testname="el-bdo" class="ex-generic">x</bdo> +<data value="1" data-testname="el-data" class="ex-generic">x</data> +<div open data-testname="el-div" class="ex-generic">x</div> +<!-- footer -> ./roles-contextual.html --> +<!-- header -> ./roles-contextual.html --> +<i data-testname="el-i" class="ex-generic">x</i> +<li data-testname="el-li-orphaned" class="ex-generic">x</li><!-- todo: should orphaned roles be tested in a new ./roles-orphaned.html file? --> +<pre data-testname="el-pre" class="ex-generic">x</pre> +<q data-testname="el-q" class="ex-generic">x</q> +<samp data-testname="el-samp" class="ex-generic">x</samp> +<!-- section -> ./roles-contextual.html --> +<small data-testname="el-small" class="ex-generic">x</small> +<span data-testname="el-span" class="ex-generic">x</span> +<u data-testname="el-u" class="ex-generic">x</u> + +<script> +AriaUtils.verifyGenericRolesBySelector(".ex-generic"); +</script> + +</body> +</html>
\ No newline at end of file |