playwright/tests/assets/wpt/accname/manual/description_test_case_666-manual.html
Dmitry Gozman 9b6627a063
feat(role): roll and pass WPT accname tests, calculate description (#30434)
There are new "non-manual" WPT accname tests that we now mostly pass,
which required a few tweeks in calculating role and name.

Also implemented accessible description computation, which is just a
small addition on top of accessible name, and passed respective wpt
tests.

References #18332.
2024-04-19 12:49:49 -07:00

74 lines
1.7 KiB
HTML

<!doctype html>
<html>
<head>
<title>Description test case 666</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",
"description",
"is",
"foo"
]
],
"AXAPI" : [
[
"property",
"AXHelp",
"is",
"foo"
]
],
"IAccessible2" : [
[
"property",
"accDescription",
"is",
"foo"
]
],
"UIA" : [
[
"property",
"Description",
"is",
"foo"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "Description test case 666"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for Description test case 666.</p>
<div>
<img id="test" aria-describedby="ID1" src="test.png">
</div>
<div id="ID1" role="presentation">foo</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>