Skip to content

Commit

Permalink
Bug 1814501 [wpt PR 38307] - Update CORE-AAM AXAPI aria-description/d…
Browse files Browse the repository at this point in the history
…escribedby, a=testonly

Automatic update from web-platform-tests
Update CORE-AAM AXAPI aria-description/describedby (#38307)

See issue: w3c/core-aam#60
--

wpt-commits: f1e9d823a623735bb69f16b74968267abd0d352b
wpt-pr: 38307
  • Loading branch information
spectranaut authored and moz-wptsync-bot committed Sep 13, 2023
1 parent 2b97bb1 commit 97effb0
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
],
"AXAPI" : [
[
"property",
"AXHelp",
"api",
"accessibilityCustomContent",
"is",
"hello world"
"['label': 'hello world']"
]
],
"IAccessible2" : [
Expand Down
70 changes: 70 additions & 0 deletions testing/web-platform/tests/core-aam/aria-description-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!doctype html>
<html>
<head>
<title>aria-description</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",
"Description",
"is",
"hello world"
]
],
"AXAPI" : [
[
"api",
"accessibilityCustomContent",
"is",
"['label': 'hello world']"
]
],
"IAccessible2" : [
[
"property",
"accDescriptio",
"is",
"hello world"
]
],
"UIA" : [
[
"property",
"FullDescription",
"is",
"hello world"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "aria-description"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-description.</p>
<div role='group' id='test' aria-description='hello world'>content</div>

<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>

0 comments on commit 97effb0

Please sign in to comment.