feat(web): announce notifications to screen readers (#12071)

This commit is contained in:
Ben 2024-08-27 18:13:17 -04:00 committed by GitHub
parent 98b3441cb1
commit 72ab664936
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 46 additions and 14 deletions

View file

@ -33,7 +33,7 @@ test.describe('Photo Viewer', () => {
await page.waitForLoadState('load');
// this is the spinner
await page.waitForSelector('svg[role=status]');
await expect(page.getByRole('status')).toBeVisible();
await expect(page.getByTestId('loading-spinner')).toBeVisible();
});
test('loads high resolution photo when zoomed', async ({ page }) => {