We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c29051 commit 1d310bfCopy full SHA for 1d310bf
1 file changed
test/nuxt/a11y.spec.ts
@@ -2875,6 +2875,17 @@ describe('component accessibility audits', () => {
2875
const results = await runAxe(component)
2876
expect(results.violations).toEqual([])
2877
})
2878
+
2879
+ it('should have no accessibility violations in all sizes', async () => {
2880
+ const sizes = ['xs', 'lg'] as const
2881
+ for (const size of sizes) {
2882
+ const component = await mountSuspended(UserAvatar, {
2883
+ props: { username: 'testuser', size },
2884
+ })
2885
+ const results = await runAxe(component)
2886
+ expect(results.violations).toEqual([])
2887
+ }
2888
2889
2890
2891
// Diff components
0 commit comments