NEURALNG

ACCESSIBILITY

Identity without ambiguity

Image and fallback semantics follow the same identity contract while decorative content can stay silent.

Image alternatives

alt is passed to the native image. When omitted, name becomes the alternative. Set alt="" explicitly only when surrounding visible text already names the person and the image is decorative.

Fallback semantics

Initials, icon and projected fallback visuals are hidden from assistive technology; the root uses role="img" with the resolved ariaLabel, name or alt. Without any name, the fallback stays decorative.

Group naming and overflow

Providing ariaLabel creates a named role="group". The overflow count substitutes every {count} occurrence in the localized label; keep that placeholder in translations.

Badge announcements

A visual status dot needs neuralBadgeAriaLabel. Counts should announce their meaning, not only the number. Avatar itself never duplicates these semantics.

RTL and logical layout

Group overlap and Badge positions use inline start/end, so document direction changes require no alternate markup. Avatar has no keyboard behavior because identity alone is not interactive.