-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1849203 [wpt PR 34758] - Update CORE-AAM tests, a=testonly
Automatic update from web-platform-tests Update CORE-AAM tests (#34758) * CORE-AAM: AXAPI subrole for role=tab See issue: w3c/core-aam#106 * CORE-AAM: unnamed forms are not landmarks See issue: w3c/core-aam#11 * CORE-AAM: add tests for role comment See issue: w3c/core-aam#62 -- wpt-commits: 7e6c12c6f5eaa3df840a595b2ff9de730dc58a3d wpt-pr: 34758
- Loading branch information
1 parent
512cc81
commit f6d6588
Showing
4 changed files
with
173 additions
and
2 deletions.
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,88 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>comment</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_COMMENT" | ||
], | ||
[ | ||
"property", | ||
"objectAttributes", | ||
"contains", | ||
"xml-roles:comment" | ||
] | ||
], | ||
"AXAPI" : [ | ||
[ | ||
"property", | ||
"AXRole", | ||
"is", | ||
"AXGroup" | ||
] | ||
], | ||
"IAccessible2" : [ | ||
[ | ||
"property", | ||
"role", | ||
"is", | ||
"IA2_ROLE_COMMENT" | ||
], | ||
[ | ||
"property", | ||
"objectAttributes", | ||
"contains", | ||
"xml-roles:comment" | ||
] | ||
], | ||
"UIA" : [ | ||
[ | ||
"property", | ||
"ControlType", | ||
"is", | ||
"Group" | ||
], | ||
[ | ||
"property", | ||
"LocalizedControlType", | ||
"is", | ||
"comment" | ||
] | ||
] | ||
}, | ||
"title" : "step 1", | ||
"type" : "test" | ||
} | ||
], | ||
"title" : "comment" | ||
} | ||
|
||
) ; | ||
</script> | ||
</head> | ||
<body> | ||
<p>This test examines the ARIA properties for comment.</p> | ||
<div role='comment' 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
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> |
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 |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
"property", | ||
"AXSubrole", | ||
"is", | ||
"<nil>" | ||
"AXTabButton" | ||
] | ||
], | ||
"MSAA" : [ | ||
|