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

Function focusable

web/components/a11y/FocusTrap.tsx:35–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 if (!container) return;
34
35 const focusable = () =>
36 Array.from(container.querySelectorAll<HTMLElement>(FOCUSABLE_SELECTORS)).filter(
37 (el) => !el.closest("[aria-hidden='true']")
38 );
39
40 const handleKeyDown = (e: KeyboardEvent) => {
41 if (e.key !== "Tab") return;

Callers 2

handleKeyDownFunction · 0.85
FocusTrapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected