Closed
Bug 1519520
Opened 7 years ago
Closed 7 years ago
Incorrect focus order when custom element containing focusable is placed in another custom element's slot
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1512043
People
(Reporter: dave.batiste, Unassigned)
Details
When a custom element contains a focusable element in it's shadow-dom, and that element is distributed to a slot of another component, the focus order is incorrect and it is not possible to focus (via keyboard) on some elements. Focusable elements are skipped when tabbing. Observed at least in FF 64.0.2 on Windows 10.
Steps to reproduce:
https://codepen.io/anon/pen/PXxzdo
- go to the code pen with example with Firefox
- try tabbing through the elements
- observe that 2nd and 3rd custom buttons are skipped when tabbing
Moving the custom button elements outside of the custom container element results in the expected focus order.
![]() |
||
Comment 1•7 years ago
|
||
Bug 1512043 fixed this in 66.
Component: Untriaged → DOM
Product: Firefox → Core
![]() |
||
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•7 years ago
|
||
Awesome! Thanks. Sorry I did not see the original.
Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•