[Webkit-unassigned] [Bug 258807] Fragment URL targeting custom element with ID would skip over focusable elements inside shadowDOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 3 23:28:20 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258807

--- Comment #3 from Tanel Terras <tanel.terras at elisa.ee> ---
Sorry for not explaining the steps to reproduce.

Please follow the steps in this example: https://studio.webcomponents.dev/view/oH04HRauNorw5KhLGJH7

1. Click on the link "Content 2"
2. Press Tab to see keyboard focus
3. Focus shifts straight to green button that is inside #content-3 , skipping two green buttons inside #content-2

I would expect that after step 2 I would see the focus on the first green button inside #content-2.

I refer to #content-2 and #content-3 as custom elements (regular-content) with their own shadow DOM.

Following these steps in chrome/firefox would work as expected - focus in step 2 would shift to first green button inside the #content-2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230704/ccf23865/attachment.htm>


More information about the webkit-unassigned mailing list