Skip to content

Commit

Permalink
test: suppress "visible label in accessible name" ACT test issue (#4312)
Browse files Browse the repository at this point in the history
Temporarily suppresses the ACT mismatch described by #4311 to avoid
nightly ACT test noise until we can fix the inconsistency

~Reviewer note: this suppression only has any effect if you're using ACT
content that we haven't yet picked up; you'll need to `npm install
w3c/wcag-act-rules#main` (like the nightly build does) to meaningfully
validate the change locally.~ As of 9a370b6, this can be tested without
updating to main

No QA required
  • Loading branch information
dbjorge committed Jan 26, 2024
1 parent 938b411 commit 751657a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
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 @@ -175,7 +175,7 @@
"typedarray": "^0.0.7",
"typescript": "^5.2.2",
"uglify-js": "^3.17.4",
"wcag-act-rules": "github:w3c/wcag-act-rules#485104c",
"wcag-act-rules": "github:w3c/wcag-act-rules#dc90495a5533d326b300ee5a9487afdfc6d493c0",
"weakmap-polyfill": "^2.0.4"
},
"lint-staged": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require('./act-runner.js')({
id: '2ee8b8',
title: 'Visible label is part of accessible name',
axeRules: ['label-content-name-mismatch']
axeRules: ['label-content-name-mismatch'],
// See: https://github.com/dequelabs/axe-core/issues/4311
skipTests: ['e9bbdbec137223e2973c6d2896050770c84c26e5']
});

0 comments on commit 751657a

Please sign in to comment.