listbox_busy_true-manual.html
<!doctype html>
<html>
<head>
<title>listbox busy true</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<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_LIST_BOX"
],
[
"property",
"states",
"contains",
"STATE_BUSY"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXList"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
],
[
"property",
"AXRoleDescription",
"is",
"list"
],
[
"property",
"AXElementBusy",
"is",
"true"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_LISTBOX"
],
[
"property",
"states",
"contains",
"STATE_SYSTEM_BUSY"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"List"
],
[
"result",
"AriaProperties.busy",
"is",
"true"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "listbox busy true"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for listbox busy true.</p>
<ul role="listbox" aria-busy="true" id="test">
<li role="option">option 1</li>
<li role="option">option 2</li>
</ul>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>