<!doctype html>
<html>
<head>
<title>textbox placeholder</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",
"role",
"is",
"ROLE_ENTRY"
],
[
"property",
"interfaces",
"contains",
"EditableText"
],
[
"property",
"states",
"contains",
"STATE_SINGLE_LINE"
],
[
"property",
"objectAttributes",
"contains",
"placeholder-text:DD/MM/YYYY"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXTextField"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
],
[
"property",
"AXRoleDescription",
"is",
"text field"
],
[
"property",
"AXPlaceholderValue",
"is",
"DD/MM/YYYY"
]
],
"IAccessible2" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_TEXT"
],
[
"property",
"states",
"doesNotContain",
"IA2_STATE_SINGLE_LINE"
],
[
"property",
"objectAttributes",
"contains",
"placeholder-text:DD/MM/YYYY"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_TEXT"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"Edit"
],
[
"result",
"AriaProperties.placeholder",
"is",
"DD/MM/YYYY"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "textbox placeholder"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for textbox placeholder.</p>
<div contenteditable="true" role="textbox" aria-placeholder="DD/MM/YYYY" id="test">
"DD/MM/YYYY"
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>