NEURALNG

ACCESSIBILITY

Native focus lifecycle

Drawer builds on the native dialog top layer without global keyboard listeners or synthetic focus traps.

Native semantics

Modal mode uses showModal(); non-modal mode uses show(). Modal background content becomes inert through the browser.

Accessible name

Prefer a visible heading connected through ariaLabelledby. Use ariaLabel when no visible title exists and ariaDescribedby for supporting context.

Focus lifecycle

neuralDrawerInitialFocus receives focus after opening. The original trigger regains focus after every completed close.

Keyboard

Escape follows closeOnEscape. Modal Tab containment is native. Every blocked dismissal flow must expose an obvious focusable close or completion action.

RTL positions

Start opens from the right and end from the left under RTL. Top and bottom remain unchanged.

SSR and hydration

Server output remains a closed native dialog. Top-layer, active-element and focus operations run only after browser hydration.

Task details

The document remains interactive behind this panel.