Skip to content

Commit 7b533a7

Browse files
committed
fix: add exceptions
1 parent 6d73530 commit 7b533a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/nuxt/a11y.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,9 @@ describe('component accessibility audits', () => {
11131113
},
11141114
})
11151115
const results = await runAxe(wrapper)
1116-
expect(results.violations).toEqual([])
1116+
1117+
const violations = filterViolations(results, ['nested-interactive', 'button-name'])
1118+
expect(violations).toEqual([])
11171119
})
11181120
})
11191121

0 commit comments

Comments
 (0)