Skip to content

Commit 920d30d

Browse files
committed
test: add a11y test for landing-logo
1 parent e326bb0 commit 920d30d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/nuxt/a11y.spec.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ import {
141141
BlueskyPostEmbed,
142142
BuildEnvironment,
143143
ButtonBase,
144+
LandingLogo,
144145
LinkBase,
145146
CallToAction,
146147
ChartPatternSlot,
@@ -331,6 +332,14 @@ describe('component accessibility audits', () => {
331332
})
332333
})
333334

335+
describe('LandingLogo', () => {
336+
it('should have no accessibility violations', async () => {
337+
const component = await mountSuspended(LandingLogo)
338+
const results = await runAxe(component)
339+
expect(results.violations).toEqual([])
340+
})
341+
})
342+
334343
describe('AppFooter', () => {
335344
it('should have no accessibility violations', async () => {
336345
const component = await mountSuspended(AppFooter)

0 commit comments

Comments
 (0)