[Webkit-unassigned] [Bug 258807] New: 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 06:43:41 PDT 2023


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

            Bug ID: 258807
           Summary: Fragment URL targeting custom element with ID would
                    skip over focusable elements inside shadowDOM
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tanel.terras at elisa.ee
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

When activating fragment URL that points to custom element with shadowDOM the sequential focus navigation starting point (https://html.spec.whatwg.org/multipage/browsing-the-web.html#scrolling-to-a-fragment:sequential-focus-navigation-starting-point) is set so that any focusable elements in custom element will be ignored.

Everything seems to be by the spec when testing out simpler use-cases: https://codepen.io/hidde/pen/QvKGqa
I created a more complex example that reproduces the bug: https://studio.webcomponents.dev/view/oH04HRauNorw5KhLGJH7

Although my target (#content) is custom element it should (to my understanding) not skip over the focusable elements inside custom elements shadowDOM.


Latest chrome and firefox would not skip over the focusable elements inside shadowDOM.

-- 
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/20230703/77334e45/attachment.htm>


More information about the webkit-unassigned mailing list