Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update ACT tests #4233

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"typedarray": "^0.0.7",
"typescript": "^5.2.2",
"uglify-js": "^3.17.4",
"wcag-act-rules": "github:w3c/wcag-act-rules#2341a1b",
"wcag-act-rules": "github:w3c/wcag-act-rules#485104c",
"weakmap-polyfill": "^2.0.4"
},
"lint-staged": {
Expand Down
7 changes: 7 additions & 0 deletions test/act-rules/aria-required-id-references-in6db8.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require('./act-runner.js')({
id: 'in6db8',
title: 'ARIA required ID references exist',
axeRules: ['aria-valid-attr-value'],
// See: https://github.com/dequelabs/axe-core/issues/4202
skipTests: ['97bd98302238b32e9131d042174502a83db2a4b2']
});
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
require('./act-runner.js')({
id: '24afc2',
title: 'Letter spacing in style attributes is not !important',
axeRules: ['avoid-inline-spacing']
axeRules: ['avoid-inline-spacing'],
// See: https://github.com/dequelabs/axe-core/issues/4232
skipTests: [
'9af5662e9957191c22c558a1a8511bae709a2b36',
'd6d5bf7c081939e64d10022dd29f5e31d2153d50'
]
});
7 changes: 6 additions & 1 deletion test/act-rules/meta-viewport-b4f0c3.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
require('./act-runner.js')({
id: 'b4f0c3',
title: 'meta viewport allows for zoom',
axeRules: ['meta-viewport']
axeRules: ['meta-viewport'],
// See: https://github.com/dequelabs/axe-core/issues/4231
skipTests: [
'9f288c284df9ade53aa33e50ec50c879d5aba4ef',
'c94a59f8c3b17d722781af36da3556ff4b418776'
]
});
8 changes: 7 additions & 1 deletion test/act-rules/word-spacing-not-important-9e45ec.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
require('./act-runner.js')({
id: '9e45ec',
title: 'Word spacing in style attributes is not !important',
axeRules: ['avoid-inline-spacing']
axeRules: ['avoid-inline-spacing'],
// See: https://github.com/dequelabs/axe-core/issues/4232
skipTests: [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heads up, there's a problem in the testcases.json file. Due to a mistake all but these three test cases are missing for this rule. I'm working to have that fixed. I don't know if the fix of that is going to reveal new issues here. We'll see.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an issue open for the problem? Would hate for it to slip through the cracks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'15905a239d6755102be6a60aa152ad963d5b1dbb',
'8d2baed183149375922c23a9a5f42b52b627d713',
'fdd3c30f28464b32eb8a1397f70a41dfd3b2cb1c'
]
});