-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORE-AAM: unnamed forms are not landmarks
See issue: w3c/core-aam#11
- Loading branch information
1 parent
e43d4d4
commit 7c447d0
Showing
2 changed files
with
84 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |