forked from web-platform-tests/wpt
-
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.
Core-AAM: New and updated tests (web-platform-tests#7456)
* Add tests for inclusion/exclusion from accessibility tree * Add some missing required attributes to a few existing tests
- Loading branch information
Showing
35 changed files
with
2,047 additions
and
6 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
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
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
71 changes: 71 additions & 0 deletions
71
core-aam/exclude_element_hidden_with_css_display:none-manual.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,71 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Exclude element hidden with CSS display:none</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", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"AXAPI" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"MSAA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"UIA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
] | ||
}, | ||
"title" : "step 1", | ||
"type" : "test" | ||
} | ||
], | ||
"title" : "Exclude element hidden with CSS display:none" | ||
} | ||
|
||
) ; | ||
</script> | ||
</head> | ||
<body> | ||
<p>This test examines the ARIA properties for Exclude element hidden with CSS display:none.</p> | ||
<div role='button' style='display:none;'>content</div> | ||
|
||
<div id="manualMode"></div> | ||
<div id="log"></div> | ||
<div id="ATTAmessages"></div> | ||
</body> | ||
</html> |
71 changes: 71 additions & 0 deletions
71
core-aam/exclude_element_hidden_with_css_visibility:hidden-manual.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,71 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Exclude element hidden with CSS visibility:hidden</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", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"AXAPI" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"MSAA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"UIA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
] | ||
}, | ||
"title" : "step 1", | ||
"type" : "test" | ||
} | ||
], | ||
"title" : "Exclude element hidden with CSS visibility:hidden" | ||
} | ||
|
||
) ; | ||
</script> | ||
</head> | ||
<body> | ||
<p>This test examines the ARIA properties for Exclude element hidden with CSS visibility:hidden.</p> | ||
<div role='button' style='visibility:hidden;'>content</div> | ||
|
||
<div id="manualMode"></div> | ||
<div id="log"></div> | ||
<div id="ATTAmessages"></div> | ||
</body> | ||
</html> |
71 changes: 71 additions & 0 deletions
71
core-aam/exclude_element_hidden_with_html5_hidden-manual.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,71 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Exclude element hidden with HTML5 hidden</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", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"AXAPI" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"MSAA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"UIA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
] | ||
}, | ||
"title" : "step 1", | ||
"type" : "test" | ||
} | ||
], | ||
"title" : "Exclude element hidden with HTML5 hidden" | ||
} | ||
|
||
) ; | ||
</script> | ||
</head> | ||
<body> | ||
<p>This test examines the ARIA properties for Exclude element hidden with HTML5 hidden.</p> | ||
<div role='button' hidden>content</div> | ||
|
||
<div id="manualMode"></div> | ||
<div id="log"></div> | ||
<div id="ATTAmessages"></div> | ||
</body> | ||
</html> |
73 changes: 73 additions & 0 deletions
73
core-aam/exclude_presentational_children_of_button-manual.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,73 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Exclude presentational children of button</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", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"AXAPI" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"MSAA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
], | ||
"UIA" : [ | ||
[ | ||
"property", | ||
"accessible", | ||
"is", | ||
"false" | ||
] | ||
] | ||
}, | ||
"title" : "step 1", | ||
"type" : "test" | ||
} | ||
], | ||
"title" : "Exclude presentational children of button" | ||
} | ||
|
||
) ; | ||
</script> | ||
</head> | ||
<body> | ||
<p>This test examines the ARIA properties for Exclude presentational children of button.</p> | ||
<div role='button'> | ||
<div id='test'>content</div> | ||
</div> | ||
|
||
<div id="manualMode"></div> | ||
<div id="log"></div> | ||
<div id="ATTAmessages"></div> | ||
</body> | ||
</html> |
Oops, something went wrong.