gecko-dev/testing/web-platform/tests/wai-aria/spinbutton_readonly_false-manual.html
James Graham 3f997c7d6e Bug 1367340 - Update web-platform-tests to revision a2d29f3497c889546662566721bbd4f86efdbedd, a=testonly
MozReview-Commit-ID: G7hh5RgrlOv


--HG--
rename : testing/web-platform/tests/content-security-policy/navigation/to-javascript-url.html => testing/web-platform/tests/content-security-policy/navigation/to-javascript-url-script-src.html
rename : testing/web-platform/tests/webusb/idlharness.html => testing/web-platform/tests/webusb/idlharness.https.html
2017-05-24 14:03:28 +01:00

141 lines
3.5 KiB
HTML

<!doctype html>
<html>
<head>
<title>spinbutton readonly false</title>
<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_SPIN_BUTTON"
],
[
"property",
"interfaces",
"contains",
"Value"
],
[
"property",
"states",
"doesNotContain",
"STATE_READ_ONLY"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXIncrementor"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
],
[
"property",
"AXRoleDescription",
"is",
"stepper"
],
[
"result",
"AXUIElementIsAttributeSettable(AXValue)",
"is",
"true"
]
],
"IAccessible2" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_SPINBUTTON"
],
[
"property",
"interfaces",
"contains",
"IAcesssibleValue"
],
[
"property",
"states",
"contains",
"IA2_STATE_SYSTEM_EDITABLE"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_SPINBUTTON"
],
[
"property",
"interfaces",
"contains",
"IAcesssibleValue"
],
[
"property",
"states",
"contains",
"IA2_STATE_SYSTEM_EDITABLE"
]
],
"UIA" : [
[
"property",
"Control Type",
"is",
"Spinner"
],
[
"property",
"Value.IsReadOnly",
"is",
"false"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "spinbutton readonly false"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for spinbutton readonly false.</p>
<div id="test" role="spinbutton" aria-readonly="false">
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>