Skip to content

Commit

Permalink
CORE-AAM: unnamed forms are not landmarks
Browse files Browse the repository at this point in the history
See issue: w3c/core-aam#11
  • Loading branch information
spectranaut committed Jul 8, 2022
1 parent e43d4d4 commit 7c447d0
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core-aam/form-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</head>
<body>
<p>This test examines the ARIA properties for form.</p>
<div role='form' id='test'>content</div>
<div role='form' id='test' aria-labelled='the name of the form'>content</div>

<div id="manualMode"></div>
<div id="log"></div>
Expand Down
83 changes: 83 additions & 0 deletions core-aam/form-unnamed.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<!doctype html>
<html>
<head>
<title>form</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_SECTION"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXGroup"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
]
],
"IAccessible2" : [
[
"property",
"role",
"is",
"IA2_ROLE_SECTION"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_GROUPING"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"Group"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "unnamed form"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for an unnamed form.</p>
<div role='form' id='test'>content</div>

<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>

0 comments on commit 7c447d0

Please sign in to comment.