Skip to content

Commit

Permalink
Use tabindex
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Feb 21, 2023
1 parent dbe065b commit 298ada7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/editor/various/a11y.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ test.describe( 'a11y (@firefox, @webkit)', () => {
// This is necessary for solving a flaky result where Playwright runs too fast
// before DOM catching up.
await expect( preferencesModalContent ).toHaveAttribute(
'aria-label',
'Scrollable section'
'tabindex',
'0'
);
await page.keyboard.press( 'Shift+Tab' );
await expect( closeButton ).toBeFocused();
Expand Down

0 comments on commit 298ada7

Please sign in to comment.