NEURALNG

ACCESSIBILITY

Small visual, complete meaning

Badge never replaces the accessible name of the object it decorates.

Labels and caps

A capped 99+ Badge exposes the real numeric value through its generated aria-label. Set ariaLabel when the number needs context, and keep the anchor's own name complete.

Meaningful dots

A decorative dot needs no announcement. A dot that means online, unread or failed must receive ariaLabel; development mode warns when it is missing.

Live regions

ariaLive="off" is intentionally the default. Prefer polite for user-relevant background counts and reserve assertive for truly urgent changes.

Anchor semantics

The directive does not change role, focus or keyboard behavior. Use a real Button for actions. Wrap void or replaced elements such as img and input before applying the directive.

RTL and logical placement

start and end are logical, not physical. All corner offsets use logical inset properties and follow the document direction without a second API.