-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARIA: add tests for sectionheader and sectionfooter
- Loading branch information
1 parent
8c6b479
commit cdb8c30
Showing
3 changed files
with
207 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>sectionfooter</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_PANEL" | ||
], | ||
[ | ||
"property", | ||
"objectAttributes", | ||
"contains", | ||
"xml-roles:sectionfooter" | ||
] | ||
], | ||
"AXAPI" : [ | ||
[ | ||
"property", | ||
"AXRole", | ||
"is", | ||
"AXGroup" | ||
], | ||
[ | ||
"property", | ||
"AXSubrole", | ||
"is", | ||
"<nil>" | ||
], | ||
[ | ||
"property", | ||
"AXRoleDescription", | ||
"is", | ||
"sectionfooter" | ||
] | ||
], | ||
"IAccessible2" : [ | ||
[ | ||
"property", | ||
"objectAttributes", | ||
"contains", | ||
"xml-roles:sectionfooter" | ||
] | ||
], | ||
"MSAA" : [ | ||
[ | ||
"property", | ||
"role", | ||
"is", | ||
"ROLE_SYSTEM_GROUPING" | ||
] | ||
], | ||
"UIA" : [ | ||
[ | ||
"property", | ||
"ControlType", | ||
"is", | ||
"Group" | ||
], | ||
[ | ||
"property", | ||
"LocalizedControlType", | ||
"is", | ||
"sectionfooter" | ||
] | ||
] | ||
}, | ||
"title" : "step 1", | ||
"type" : "test" | ||
} | ||
], | ||
"title" : "sectionfooter" | ||
} | ||
|
||
) ; | ||
</script> | ||
</head> | ||
<body> | ||
<p>This test examines the ARIA properties for sectionfooter.</p> | ||
<div role='sectionfooter' id='test'>content</div> | ||
|
||
<div id="manualMode"></div> | ||
<div id="log"></div> | ||
<div id="ATTAmessages"></div> | ||
</body> | ||
</html> |
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,102 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>sectionheader</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_PANEL" | ||
], | ||
[ | ||
"property", | ||
"objectAttributes", | ||
"contains", | ||
"xml-roles:sectionheader" | ||
] | ||
], | ||
"AXAPI" : [ | ||
[ | ||
"property", | ||
"AXRole", | ||
"is", | ||
"AXGroup" | ||
], | ||
[ | ||
"property", | ||
"AXSubrole", | ||
"is", | ||
"<nil>" | ||
], | ||
[ | ||
"property", | ||
"AXRoleDescription", | ||
"is", | ||
"sectionheader" | ||
] | ||
], | ||
"IAccessible2" : [ | ||
[ | ||
"property", | ||
"objectAttributes", | ||
"contains", | ||
"xml-roles:sectionheader" | ||
] | ||
], | ||
"MSAA" : [ | ||
[ | ||
"property", | ||
"role", | ||
"is", | ||
"ROLE_SYSTEM_GROUPING" | ||
] | ||
], | ||
"UIA" : [ | ||
[ | ||
"property", | ||
"ControlType", | ||
"is", | ||
"Group" | ||
], | ||
[ | ||
"property", | ||
"LocalizedControlType", | ||
"is", | ||
"sectionheader" | ||
] | ||
] | ||
}, | ||
"title" : "step 1", | ||
"type" : "test" | ||
} | ||
], | ||
"title" : "sectionheader" | ||
} | ||
|
||
) ; | ||
</script> | ||
</head> | ||
<body> | ||
<p>This test examines the ARIA properties for sectionheader.</p> | ||
<div role='sectionheader' id='test'>content</div> | ||
|
||
<div id="manualMode"></div> | ||
<div id="log"></div> | ||
<div id="ATTAmessages"></div> | ||
</body> | ||
</html> |
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