microsoft / playwright.dev

Documentation website for Playwright
https://playwright.dev
Creative Commons Attribution 4.0 International
118 stars 96 forks source link

A11y_Playwright.dev_KeyBoard: When we press "ESC" on the "Search field" Key board focus is not remains on "Search" field. #1269

Closed Raghu-addepalli closed 7 months ago

Raghu-addepalli commented 9 months ago

"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility or the Divisional Driver"

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."

GitHub Tags:

A11yMAS;#A11yTCS;#Playwright releases;#P1_Playwright.dev_Web_Jan2024;#A11ySev2;#AI Limited;#ChromiumEdge;#DesktopWeb;#FTP;#WCAG2.4.3;#Win11;#KeyBoard;#FocusOrder;#P1_WCP;#Closed;

Environmental Details:

App Name: Playwright.dev

URL: https://playwright.dev/docs/input

OS & Browser Details:

Microsoft Windows 11 Enterprise Version 22621.3007 Microsoft Edge Version 120.0.2210.144 (Official build) (64-bit)

Repro Steps:

  1. Hit the URL: https://playwright.dev/docs/input
  2. TAB to "Search" Field on Top Navigation Bar and Press ENTER.
  3. Now Press "ESC" Key.
  4. Now check that when we press "ESC" on the "Search field" Key board focus is not remains on "Search" field or not.

Actual Result:

When we press "ESC" on the "Search field" dialog Key board focus is not remains on "Search" field.

Note: Similar issue is also observed in below links.

https://playwright.dev/docs/test-assertions https://playwright.dev/docs/running-tests https://playwright.dev/docs/locators https://playwright.dev/docs/api/class-locator https://playwright.dev/docs/writing-tests https://playwright.dev/docs/api/class-playwright https://playwright.dev/docs/intro https://playwright.dev/docs/api/class-page

Expected Result:

When we press "ESC" on the "Search field" dialog Key board focus should remain on "Search" field.

User Impact:

Key Board Users will face difficulty while accessing the controls if Focus order issue is observed.

Attachment:

https://github.com/microsoft/playwright.dev/assets/91586743/2d3bc54e-85cc-4190-aee5-b53e8a7ef739

mxschmitt commented 7 months ago

This one needs to be fixed in a 3rd-party dependency, I reported it as https://github.com/facebook/docusaurus/issues/9917.

Raghu-addepalli commented 7 months ago

@mxschmitt verified the issue in below environment issue is Still reproducing and added attachment below. https://playwright.dev/docs/test-assertions https://github.com/microsoft/playwright.dev/assets/91586743/9102e68d-890c-49f0-9ac3-399c7b576341

mxschmitt commented 7 months ago

Yes, waiting for a third-party dependency update.

mxschmitt commented 7 months ago

This should be fixed, please re-check.

Raghu-addepalli commented 7 months ago

verified the issue in below environment issue is Fixed hence closing the bug and added attachment. https://playwright.dev/docs/test-assertions

https://github.com/microsoft/playwright.dev/assets/91586743/f2b28921-5a4f-41e7-a541-2921e8c48974