playwright/tests/assets/wpt/accname/manual/description_1.0_combobox-focusable-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

73 lines
1.7 KiB
HTML

<!doctype html>
<html>
<head>
<title>Description 1.0 combobox-focusable</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",
""
]
],
"AXAPI" : [
[
"property",
"AXHelp",
"is",
""
]
],
"IAccessible2" : [
[
"property",
"accDescription",
"is",
""
]
],
"UIA" : [
[
"property",
"Description",
"is",
""
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "Description 1.0 combobox-focusable"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for Description 1.0 combobox-focusable.</p>
<div id="test" role="combobox" tabindex="0" title="Choose your language.">
<span> English </span>
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>