fn

getTabbableCandidates

v0.0.5

Collects 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
declare function getTabbableCandidates(container: HTMLElement): HTMLElement[];

Parameters

ParameterTypeDescription
containerHTMLElement

Returns

HTMLElement[]