NEURALNG

ACCESSIBILITY

Text first, explicit actions

Classification remains readable text. Interaction appears only when removal is enabled.

Text semantics

A non-removable Tag is inline content and does not invent an interactive role. Place it inside the consumer's existing semantic context.

Meaningful icons

Icons are decorative by default and receive aria-hidden. Set iconAriaLabel only when the icon adds information absent from the visible label.

Removal control

removable creates a native button with a generated “Remove value” name, focus ring and keyboard activation. removeLabel can supply domain context.

Disabled state

The root exposes aria-disabled="true" and the native removal button is disabled, so no event can escape.

Logical direction

Inline ordering and spacing follow document direction. Consumer classes should use logical start/end utilities.