-
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 1879219 [wpt PR 44457] - Moves SVG image role test to a tentative…
… file, a=testonly Automatic update from web-platform-tests Moves SVG image role test to a tentative file Closes web-platform-tests/interop-accessibility#96 Moves SVG image role test to a tentative file outside of the Interop 2024 focus area files, while dispute is resolved. -- wpt-commits: ab85bc28838d67bdf25b66af691269f5d08b51ec wpt-pr: 44457
- Loading branch information
1 parent
bf8579c
commit 9301aa4
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
testing/web-platform/tests/svg-aam/role/role-img.tentative.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,32 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>SVG-AAM Image Role Verification Tests</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/resources/testdriver.js"></script> | ||
<script src="/resources/testdriver-vendor.js"></script> | ||
<script src="/resources/testdriver-actions.js"></script> | ||
<script src="/wai-aria/scripts/aria-utils.js"></script> | ||
</head> | ||
<body> | ||
|
||
|
||
<p>Currently tentative due to <a href="https://github.com/w3c/svg-aam/issues/32">SVG-AAM #32: SVG image role should align with HTML on missing versus empty alt</a>.</p> | ||
|
||
<!-- [sic] included here b/c the spec says unlabeled, unrendered images are generic, but the spec may be wrong. --> | ||
<!-- Once https://github.com/w3c/svg-aam/issues/32 is resolved, this test can be moved to another file or have `.tentative` removed. --> | ||
<image data-testname="el-image (empty label due to missing image>title element)" data-expectedrole="image" data-expectedlabel="" class="ex-role-label"></image> | ||
|
||
<!-- Additional tests --> | ||
<image data-testname="el-image (label from w/ aria-label)" aria-label="x" data-expectedrole="image" data-expectedlabel="x" class="ex-role-label"></image> | ||
<image data-testname="el-image (label from image>title element)" data-expectedrole="image" data-expectedlabel="x" class="ex-role-label"><title>x</title></image> | ||
<image data-testname="el-image (generic, explicitly empty image>title element)" class="ex-generic"><title></title></image> | ||
|
||
<script> | ||
AriaUtils.verifyRolesAndLabelsBySelector(".ex-role-label"); | ||
AriaUtils.verifyGenericRolesBySelector(".ex-generic"); | ||
</script> | ||
|
||
</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