Avatar
Keyboard
Avatar usually only displays information. The error type also shows its error explanation on keyboard focus.
Semantics
Set label to identify the person, agent or runtime. Use AvatarBadge's statusLabel or StatusDot's label to describe its status. The isMe and isDeactivated props only change appearance; explain them in label or nearby text when needed. Translate workingLabel to describe work in progress. When wrapMember wraps an error member, retain its existing focus stop and avoid adding a second one.
Checklist
- Use
labelto identify the person, agent or runtime, even if the image cannot load. - If
isMeorisDeactivatedneeds explaining, add it tolabelor nearby text. - Use
AvatarBadge'sstatusLabeland the group name and count to explain the status without relying on color or images.
For contrast, zoom and screen reader checks, see the common accessibility checklist.