fn
getTabbableCandidates
v0.0.5testedCollects all tabbable candidates via TreeWalker (faster than querySelectorAll). This is an approximate check — does not account for computed styles. Visibility is checked separately in `findFirstVisible`.
Signature
ts
export function getTabbableCandidates(container: HTMLElement): HTMLElement[]{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
container | HTMLElement | — |
Returns
HTMLElement[]