WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
294961
After click tabindex element in shadowDom, cannot navigation by Tab key
https://bugs.webkit.org/show_bug.cgi?id=294961
Summary
After click tabindex element in shadowDom, cannot navigation by Tab key
Woody Lee
Reported
2025-06-25 01:11:34 PDT
DOM: ``` <my-element> <div tabindex="0"> <div id="inner">Inner content</div> </div> <my-element> ``` Demo:
https://codepen.io/Woody-lxf/pen/WbvLLyo
1. Visit the demo. 2. Click the #inner div. 3. Using the keyboard Tab key to navigate. Then the focus element is always the tabindex div, and cannot navigate to others. But the Tab navigation works well after clicking on other positions.
Attachments
Add attachment
proposed patch, testcase, etc.
Woody Lee
Comment 1
2025-06-25 01:15:37 PDT
Tried to change the delegatesFocus property, but it still exists.
Radar WebKit Bug Importer
Comment 2
2025-07-02 01:12:14 PDT
<
rdar://problem/154838788
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug