Skip to content

Commit 4354dcf

Browse files
committed
test(a11y): explicitly test for announcer existence
1 parent e5a5ffd commit 4354dcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/nuxt/a11y.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ describe('component accessibility audits', () => {
532532
const announcer = document.getElementById('command-palette-modal-announcement')
533533

534534
expect(dialog).not.toBeNull()
535+
expect(announcer).not.toBeNull()
535536

536537
const results = await runAxeElements([announcer, dialog])
537538
expect(results.violations).toEqual([])

0 commit comments

Comments
 (0)