NEURALNG

TREE

Accessibility

Native focus ownership follows the WAI-ARIA Tree pattern without hiding hierarchy or asynchronous state.

ARIA model

tree, treeitem and nested group roles expose level, set size and position. Expansion, selection and checkbox mixed state are announced explicitly.

Keyboard

Arrow Up/Down move visible enabled rows. Home/End reach edges. Enter/Space selects or toggles. Printable characters run locale-aware typeahead.

Focus restore and RTL

One roving tabindex owns focus. Collapsing a focused descendant returns focus to its branch. Logical horizontal arrows reverse under RTL.

Async, SSR and cleanup

Loading, empty, error and retry states are localized. State resolution is DOM-independent; typeahead timers and lazy guards are cleaned deterministically.