Skip to content

Commit 170f114

Browse files
Update core/src/components/picker/test/a11y/picker.e2e.ts
Co-authored-by: Brandy Smith <[email protected]>
1 parent c679fd9 commit 170f114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/picker/test/a11y/picker.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ configs().forEach(({ title, config }) => {
77
test('should not have accessibility violations', async ({ page }) => {
88
await page.goto(`/src/components/picker/test/a11y`, config);
99

10-
const results = await new AxeBuilder({ page }).analyze();
10+
const results = await new AxeBuilder({ page }).disableRules('color-contrast').analyze();
1111

1212
const hasKnownViolations = results.violations.filter((violation) => violation.id === 'color-contrast');
1313
const violations = results.violations.filter((violation) => !hasKnownViolations.includes(violation));

0 commit comments

Comments
 (0)