Bug 254048

Summary: AX: Tab gets stuck when there's only one focusable component on a page
Product: WebKit Reporter: Dane M <dane.myers>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andresg_22, dane.myers, max, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Other   
Attachments:
Description Flags
Video comparing chrome and webkit (via playwright) none

Dane M
Reported 2023-03-16 15:24:54 PDT
Created attachment 465468 [details] Video comparing chrome and webkit (via playwright) During testing with Storybook, we use playwright to navigate to a browser (chromium, firefox, and webkit) containing just a single iframe with the component in question. Expected: When I tab to navigate through the focusable elements on the page, I expect tab to loop endlessly through all focusable elements on the page (including the URL bar, etc). Actual: When there is just a single component/iframe on the page, the tab focuses only focusable elements within that component. Tab can no longer remove focus from the component and can cannot focus other page elements like the URL bar. This behavior is only seen on webkit 16.4, chromium and firefox do not have this issue.
Attachments
Video comparing chrome and webkit (via playwright) (3.19 MB, video/mp4)
2023-03-16 15:24 PDT, Dane M
no flags
Radar WebKit Bug Importer
Comment 1 2023-03-16 15:25:06 PDT
Max Schmitt
Comment 2 2023-04-04 02:50:50 PDT
I think you should file this bug instead on the Playwright bug tracker: http://github.com/microsoft/playwright Also for bug reports we usually need a minimal repro in terms of HTML file and a script which we can run locally.
Note You need to log in before you can comment on or make changes to this bug.