NEURALNG

ACCESSIBILITY

Editable combobox by contract

The implementation follows the ARIA editable combobox/listbox model while keeping native input focus stable.

Semantics

The input exposes role="combobox", aria-autocomplete="list", expanded, controls, active descendant, busy, readonly and invalid states. Results use listbox, option, selected and disabled semantics.

Keyboard

Arrow Down/Up opens and navigates enabled results, Home/End jump, Enter commits, Escape closes, and Tab preserves the natural focus sequence. The dropdown button is independently keyboard operable.

Focus, touch and IME

DOM focus never moves into options; aria-activedescendant exposes the active result. Blur emits touch and applies force selection. Composition events suppress partial CJK/IME search requests.

Readonly and disabled

Readonly remains enabled, focusable and inspectable but blocks input, selection, clear and blur mutations. Disabled uses the native state and closes an open popup. Disabled options are skipped.

Localization and direction

Placeholder, empty, loading, clear and dropdown messages come from NeuralLocaleService with direct input overrides. Logical popup placement follows RTL automatically; locale-aware filtering can use filterLocale.