Skip to content
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a703472
Extend testdriver to add accessibility API testing
spectranaut May 1, 2024
3cf9ea2
Add generic --force-accessibility option re: jcsteh suggestion
spectranaut Jul 15, 2025
e8826b9
Fix filepath error for windows
spectranaut Jul 15, 2025
e13b205
Add python requirements for windows and mac
spectranaut Jul 15, 2025
87dbd37
Fix requirements for macos and python 3.8
spectranaut Jul 15, 2025
947538e
Fix requirements for linux
spectranaut Jul 16, 2025
3fffddb
Update Docker dependencies
spectranaut Jul 16, 2025
821511d
Update tests to use new docker image
spectranaut Jul 22, 2025
b0f91e5
Fix Flake8 errors
spectranaut Jul 22, 2025
d02bb84
Test mistake in tag for docker image
spectranaut Jul 22, 2025
4d04628
More flake8 fixes
spectranaut Jul 30, 2025
038e93f
Fix mypy errors
spectranaut Jul 30, 2025
507911c
Use properly tagged docker image
spectranaut Jul 30, 2025
4cdc951
Change errors to warnings
spectranaut Aug 5, 2025
13c0e71
logger
spectranaut Aug 5, 2025
c56c351
update comment
spectranaut Aug 6, 2025
093b9b2
Change API name, set environmment variable for accessibility runs
spectranaut Aug 8, 2025
8987164
Move accessibility API requirements to their own file
spectranaut Aug 8, 2025
69f778a
Only install accessibility python requirements when running accessibi…
spectranaut Aug 8, 2025
a57acc0
Do not fail if accessibility requirements not installed
spectranaut Aug 8, 2025
d508e40
Switch CLI arg --enable-accessibility-api to true by default
spectranaut Aug 13, 2025
66c8112
Revert "Switch CLI arg --enable-accessibility-api to true by default"
spectranaut Aug 13, 2025
a3bd829
Minor review points from ms2ger
spectranaut Sep 1, 2025
f871388
Only pass back test[api], not the whole object
spectranaut Sep 1, 2025
e9b91a0
URL to URI
spectranaut Sep 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ tasks:
owner: ${owner}
source: ${event.repository.clone_url}
payload:
image: ghcr.io/web-platform-tests/wpt:2
image: ghcr.io/web-platform-tests/wpt:3
maxRunTime: 7200
artifacts:
public/results:
Expand Down
133 changes: 133 additions & 0 deletions core-aam/attribute/aria-autocomplete.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!doctype html>
<meta charset=utf-8>
<html>
<head>
<title>aria-braillelabel</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="/core-aam/scripts/aam-utils.js"></script>
</head>
<body>

<p>
This test is marked tentative because it uses an experimental testing API
that is presently under development.
</p>

<input role='combobox' id='test1' aria-autocomplete='both'>
<input role='combobox' id='test2' aria-autocomplete='inline'>
<input role='combobox' id='test3' aria-autocomplete='list'>

<script>
AAMUtils.verifyAPI(
'aria-autocomplete=both',
'test1',
{
"Atspi" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:both"
],
[
"property",
"states",
"contains",
"STATE_SUPPORTS_AUTOCOMPLETION"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:both"
],
[
"property",
"states",
"contains",
"IA2_STATE_SUPPORTS_AUTOCOMPLETION"
]
]
}
);

AAMUtils.verifyAPI(
'aria-autocomplete=inline',
'test2',
{
"Atspi" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:inline"
],
[
"property",
"states",
"contains",
"STATE_SUPPORTS_AUTOCOMPLETION"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:inline"
],
[
"property",
"states",
"contains",
"IA2_STATE_SUPPORTS_AUTOCOMPLETION"
]
]
}
);

AAMUtils.verifyAPI(
'aria-autocomplete=list',
'test3',
{
"Atspi" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:list"
],
[
"property",
"states",
"contains",
"STATE_SUPPORTS_AUTOCOMPLETION"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:list"
],
[
"property",
"states",
"contains",
"IA2_STATE_SUPPORTS_AUTOCOMPLETION"
]
]
}
);

</script>

</body>
</html>
64 changes: 64 additions & 0 deletions core-aam/attribute/aria-braillelabel.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!doctype html>
<meta charset=utf-8>
<html>
<head>
<title>aria-braillelabel</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="/core-aam/scripts/aam-utils.js"></script>
</head>
<body>

<p>
This test is marked tentative because it uses an experimental testing API
that is presently under development.
</p>

<button id=test aria-braillelabel=foobar>

<script>
AAMUtils.verifyAPI(
'aria-braillelabel',
'test',
{
"Atspi" : [
[
"property",
"objectAttributes",
"contains",
"braillelabel:foobar"
]
],
"AXAPI" : [
[
"property",
"AXBrailleLabel",
"is",
"foobar"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"braillelabel:foobar"
]
],
"UIA" : [
[
"property",
"AriaProperties.braillelabel",
"is",
"foobar"
]
]
},
);
</script>

</body>
</html>
78 changes: 78 additions & 0 deletions core-aam/attribute/aria-errormessage.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!doctype html>
<meta charset=utf-8>
<html>
<head>
<title>aria-flowto</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="/core-aam/scripts/aam-utils.js"></script>
</head>
<body>

<p>
This test is marked tentative because it uses an experimental testing API
that is presently under development.
</p>

<div role='checkbox' id='test' aria-errormessage='error1 error2' aria-invalid='true'>content</div>
<div id='error1'>hello</div>
<div id='error2'>world</div>

<script>
AAMUtils.verifyAPI(
'aria-flowto',
'test',
{
"Atspi" : [
[
"relation",
"RELATION_ERROR_MESSAGE",
"is",
['error1', 'error2']
],
[
"reverseRelation",
"RELATION_ERROR_FOR",
"is",
['error1', 'error2']
]
],
"AXAPI" : [
[
"property",
"AXErrorMessageElements",
"is",
['error1', 'error2']
]
],
"IAccessible2" : [
[
"relation",
"IA2_RELATION_ERROR",
"is",
['error1', 'error2']
],
[
"reverseRelation",
"IA2_RELATION_ERROR_FOR",
"is",
['error1', 'error2']
]
],
"UIA" : [
[
"property",
"ControllerFor",
"is",
['error1', 'error2']
]
]
}
);
</script>

</body>
</html>
82 changes: 82 additions & 0 deletions core-aam/role/blockquote.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<!doctype html>
<meta charset=utf-8>
<html>
<head>
<title>role blockquote</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="/core-aam/scripts/aam-utils.js"></script>
</head>
<body>

<p>
This test is marked tentative because it uses an experimental testing API
that is presently under development.
</p>

<div id=test role=blockquote>quote</div>

<script>
AAMUtils.verifyAPI(
'role=blockquote',
'test',
{
"Atspi" : [
[
"property",
"role",
"is",
"block quote"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXGroup"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
]
],
"IAccessible2" : [
[
"property",
"role",
"is",
"IA2_ROLE_BLOCK_QUOTE"
],
[
"property",
"msaaRole",
"is",
"ROLE_SYSTEM_GROUPING"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"Group"
],
[
"property",
"LocalizedControlType",
"is",
"blockquote"
]
]
}
);
</script>

</body>
</html>
Loading
Loading