Revision 87ab33ad66664bc19c0b9b54493a496e621ccf96 authored by L. David Baron on 04 April 2018, 23:15:54 UTC, committed by L. David Baron on 04 April 2018, 23:15:54 UTC
1 parent c148004
listbox_readonly_true-manual.html
<!doctype html>
<html>
<head>
<title>listbox readonly 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",
"interfaces",
"contains",
"Selection"
],
[
"property",
"states",
"contains",
"STATE_READ_ONLY"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXList"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
],
[
"property",
"AXRoleDescription",
"is",
"list"
],
[
"result",
"AXUIElementIsAttributeSettable(AXValue)",
"is",
"false"
]
],
"IAccessible2" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_LIST"
],
[
"property",
"states",
"doesNotContain",
"IA2_STATE_EDITABLE"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_LIST"
],
[
"property",
"states",
"contains",
"STATE_SYSTEM_READONLY"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"List"
],
[
"property",
"Value.IsReadOnly",
"is",
"true"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "listbox readonly true"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for listbox readonly true.</p>
<div id="test" aria-readonly="true" role="listbox">
<div role="option">option 1</div>
<div role="option">option 2</div>
<div role="option">option 3</div>
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...