Bug 237054
Summary: | Dialog element prevents focus of slotted elements in a custom element template | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kevin Zolkiewicz <witty.moon7410> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ntim, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Mac (Apple Silicon) | ||
OS: | macOS 12 | ||
URL: | https://codepen.io/zolk/pen/oNoEMmN | ||
Bug Depends on: | |||
Bug Blocks: | 84635 |
Kevin Zolkiewicz
When a custom element renders a <dialog> element as part of its shadow root, it’s impossible to use the tab key to focus on slotted elements such as inputs and buttons.
This issue was encountered in Safari Technology Preview Release 140.
CodePen replication: https://codepen.io/zolk/pen/oNoEMmN
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/89382466>
Tim Nguyen (:ntim)
Thanks for reporting! It looks like bug 230845 has fixed this, will look into writing a test when I have time.
*** This bug has been marked as a duplicate of bug 230845 ***