Skip to content

Commit

Permalink
Add tests for core-aam: aria-braillelabel and aria-brailleroledescrip…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
spectranaut committed Aug 3, 2022
1 parent 7bb97b8 commit 8f0e3c9
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 0 deletions.
71 changes: 71 additions & 0 deletions core-aam/aria-braillelabel-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!doctype html>
<html>
<head>
<title>aria-braillelabel</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",
"objectAttributes",
"contains",
"braillelabel:foobar"
]
],
"AXAPI" : [
[
"property",
"AXBrailleLabel",
"is",
"foobar"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"braillelabel:foobar"
]
],
"UIA" : [
[
"property",
"AriaProperties.braillelabel",
"is",
"foobar"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "aria-braillelabel"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-braillelabel.</p>
<button id="test" aria-braillelabel="foobar">
</div>

<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
71 changes: 71 additions & 0 deletions core-aam/aria-brailleroledescription-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!doctype html>
<html>
<head>
<title>aria-brailleroledescription</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",
"objectAttributes",
"contains",
"brailleroledescription:foobar"
]
],
"AXAPI" : [
[
"property",
"AXBrailleroledescription",
"is",
"foobar"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"brailleroledescription:foobar"
]
],
"UIA" : [
[
"property",
"AriaProperties.brailleroledescription",
"is",
"foobar"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "aria-brailleroledescription"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-brailleroledescription.</p>
<button id="test" aria-brailleroledescription="foobar">
</div>

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

0 comments on commit 8f0e3c9

Please sign in to comment.