diff options
Diffstat (limited to 'testing/web-platform/tests/accname/name/comp_tooltip.html')
-rw-r--r-- | testing/web-platform/tests/accname/name/comp_tooltip.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accname/name/comp_tooltip.html b/testing/web-platform/tests/accname/name/comp_tooltip.html new file mode 100644 index 0000000000..52e7b43cfc --- /dev/null +++ b/testing/web-platform/tests/accname/name/comp_tooltip.html @@ -0,0 +1,22 @@ +<!doctype html> +<html> +<head> + <title>Name Comp: Tooltip</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> + +<a href="#" title="label" data-expectedlabel="label" data-testname="link label from tooltip" class="ex"><img src="#" alt=""></a> + +<!-- Todo: test all remaining cases of https://w3c.github.io/accname/#comp_tooltip --> + +<script> +AriaUtils.verifyLabelsBySelector(".ex"); +</script> +</body> +</html>
\ No newline at end of file |