-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(project): update AC config and add in AVT tests (#10956)
* test(react): add AVT to breadcrumb * feat(jest-config): update accessibility-checker config * test(react): add accessibility-checker tests to ContentSwitcher Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
1e8dd51
commit ef46ea9
Showing
11 changed files
with
157 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,6 @@ packages/**/examples/** | |
|
||
# Upgrade | ||
packages/upgrade/cli.js | ||
|
||
# Accessibility Verification Testing | ||
**/.avt/** |
Binary file removed
BIN
-322 KB
.yarn/cache/accessibility-checker-npm-3.1.13-7bb0e22425-c31de81e4b.zip
Binary file not shown.
Binary file added
BIN
+326 KB
.yarn/cache/accessibility-checker-npm-3.1.18-63453b4816-e859f3ee4d.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Copyright IBM Corp. 2016, 2018 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const path = require('path'); | ||
|
||
module.exports = { | ||
ruleArchive: 'latest', | ||
policies: ['Custom_Ruleset'], | ||
failLevels: ['violation'], | ||
reportLevels: [ | ||
'violation', | ||
'potentialviolation', | ||
'recommendation', | ||
'potentialrecommendation', | ||
'manual', | ||
], | ||
outputFormat: ['json'], | ||
outputFolder: path.join('.avt', 'reports'), | ||
baselineFolder: path.join('.avt', 'baseline'), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
config/jest-config-carbon/matchers/toHaveNoACViolations.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters