MCPcopy Index your code
hub / github.com/codeaashu/claude-code / collectTabbable

Function collectTabbable

src/ink/focus.ts:134–138  ·  view source on GitHub ↗
(root: DOMElement)

Source from the content-addressed store, hash-verified

132}
133
134function collectTabbable(root: DOMElement): DOMElement[] {
135 const result: DOMElement[] = []
136 walkTree(root, result)
137 return result
138}
139
140function walkTree(node: DOMElement, result: DOMElement[]): void {
141 const tabIndex = node.attributes['tabIndex']

Callers 1

moveFocusMethod · 0.85

Calls 1

walkTreeFunction · 0.85

Tested by

no test coverage detected