NEURALNG

ACCESSIBILITY

Accessible by contract

The behavior follows the ARIA combobox/listbox interaction model without moving DOM focus into the popup.

Semantics

The native trigger exposes role=combobox, expanded state, controls and active descendant. Options expose selected, disabled, position and set size metadata.

Keyboard

Arrow Up/Down navigate enabled options; Home/End jump; Enter and Space select; Escape closes; Tab preserves natural focus order; printable keys provide buffered typeahead.

Naming and descriptions

Use neural-field for deterministic ids, labels, hints and errors, or provide ariaLabel directly. Loading is announced through aria-busy.

Readonly and disabled

Readonly remains focusable and inspectable but blocks mutation. Disabled uses the native disabled state and leaves the tab order. Disabled options are skipped by all navigation paths.