Skip to content

Commit fd8b7b5

Browse files
committed
feat: revert adapt screenreader test for button to tab into document
1 parent b989038 commit fd8b7b5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

showcases/patternhub/tests/default.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ for (const group of Components) {
3535
`overview`,
3636
`.${group.path}/${component.name}/overview?fullscreen=true`,
3737
async (page) => {
38-
const firstH2 = page.locator('h1').first();
39-
await expect(firstH2).toBeVisible();
38+
const firstH1 = page.locator('h1').first();
39+
await expect(firstH1).toBeVisible();
4040
}
4141
);
4242
});

showcases/screen-reader/tests/button.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ test.describe('DBButton', () => {
3434
await nvda?.clearSpokenPhraseLog();
3535
await nvda?.press('Shift+Tab');
3636
await nvda?.press('Tab');
37-
await nvda?.press('Tab');
3837
}
3938
});
4039
});

0 commit comments

Comments
 (0)