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 accessibility-checker to 4.0.0rc #18317

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
Binary file not shown.
3 changes: 0 additions & 3 deletions config/jest-config-carbon/matchers/toHaveNoACViolations.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ async function toHaveNoACViolations(node, label) {
'html_skipnav_exists',
'aria_content_in_landmark',
'aria_child_tabbable',
'aria_attribute_conflict',
'label_name_visible',
'target_spacing_sufficient',
]);
const ruleset = await aChecker.getRuleset('IBM_Accessibility');
const customRuleset = JSON.parse(JSON.stringify(ruleset));
Expand Down
2 changes: 1 addition & 1 deletion config/jest-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/runtime": "^7.24.7",
"accessibility-checker": "^3.1.78",
"accessibility-checker": "^4.0.0-rc.2",
"axe-core": "^4.3.5",
"babel-jest": "^28.1.0",
"chalk": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react-is": "~18.3.0",
"accessibility-checker": "^3.1.78",
"accessibility-checker": "^4.0.0-rc.2",
"all-contributors-cli": "^6.19.0",
"cross-env": "^7.0.0",
"cross-spawn": "^7.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
@include type-style('body-01');
@include focus-outline('reset');

padding: convert.to-rem(11px) layout.density('padding-inline');
padding: convert.to-rem(12px) layout.density('padding-inline');
border: none;
background-color: $field;
block-size: 100%;
Expand Down
2 changes: 0 additions & 2 deletions playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ expect.extend({
'html_skipnav_exists',
'aria_content_in_landmark',
'aria_child_tabbable',
'label_name_visible',
'target_spacing_sufficient',
]);

const ruleset = await aChecker.getRuleset('IBM_Accessibility');
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8094,9 +8094,9 @@ __metadata:
languageName: node
linkType: hard

"accessibility-checker@npm:^3.1.78":
version: 3.1.78
resolution: "accessibility-checker@npm:3.1.78"
"accessibility-checker@npm:^3.1.79":
version: 3.1.79
resolution: "accessibility-checker@npm:3.1.79"
dependencies:
axios: "npm:^1.4.0"
chromedriver: "npm:*"
Expand All @@ -8107,7 +8107,7 @@ __metadata:
string-hash: "npm:^1.1.3"
bin:
achecker: bin/achecker.js
checksum: 10/04453a96b584cd101ba45f141b283b7eddc651a1be81525c5107161f43a98d3efde6dd0c2e1fc70663252ce6ada82eb9565c82a92cb9402c01a51a7683ccb099
checksum: 10/13dd352e6829d582950565dda823f0a10ee89a0682cf261c74a97725c837a32c6eadeaeb3155f7ab567b7aa452d910e981de3893370781b76dcd91185009aae8
languageName: node
linkType: hard

Expand Down Expand Up @@ -9692,7 +9692,7 @@ __metadata:
"@testing-library/react": "npm:^16.0.0"
"@testing-library/user-event": "npm:^14.4.3"
"@types/react-is": "npm:~18.3.0"
accessibility-checker: "npm:^3.1.78"
accessibility-checker: "npm:^3.1.79"
all-contributors-cli: "npm:^6.19.0"
cross-env: "npm:^7.0.0"
cross-spawn: "npm:^7.0.0"
Expand Down Expand Up @@ -17051,7 +17051,7 @@ __metadata:
"@babel/preset-env": "npm:^7.24.7"
"@babel/preset-react": "npm:^7.24.7"
"@babel/runtime": "npm:^7.24.7"
accessibility-checker: "npm:^3.1.78"
accessibility-checker: "npm:^3.1.79"
axe-core: "npm:^4.3.5"
babel-jest: "npm:^28.1.0"
chalk: "npm:^4.1.1"
Expand Down
Loading