(el: HTMLElement)
| 8 | * @returns { Array<HTMLElement> } the tabbable elements |
| 9 | */ |
| 10 | const getTabbableElements = (el: HTMLElement): Array<HTMLElement> => { |
| 11 | return getTabbables(el.tagName === "SLOT" ? [el] : [...el.children]); |
| 12 | }; |
| 13 | |
| 14 | /** |
| 15 | * Returns the last tabbable element within the provided HTMLElement. |
no test coverage detected