gecko-dev/testing/web-platform/tests/core-aam/gridcell-manual.html

121 строка
2.9 KiB
HTML

<!doctype html>
<html>
<head>
<title>gridcell</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_TABLE_CELL"
],
[
"property",
"interfaces",
"contains",
"TableCell"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXCell"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
],
[
"property",
"AXRoleDescription",
"is",
"cell"
]
],
"IAccessible2" : [
[
"property",
"interfaces",
"contains",
"IAccessibleTableCell"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_CELL"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"DataItem"
],
[
"property",
"LocalizedControlType",
"is",
"gridcell"
],
[
"property",
"Control Pattern",
"is",
"SelectionItem"
],
[
"property",
"SelectionItem.SelectionContainer",
"is",
"the containing grid"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "gridcell"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for gridcell.</p>
<div role='grid'>
<div role='row'>
<div role='gridcell' id='test'>content</div>
</div>
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>