RRigdesign system
Data display

Avatar

A person or account: photo, initials or placeholder, with an optional status badge.

Examples

Initials with an accessible name · presence is also in the name
ELMKNRAB

Anatomy

Avatar anatomy
#PartDescriptionPresence
1Image or initials44px (Large)Required
2Status dot14px, bottom rightOptional
3RingOptional, for groupsOptional

Specifications

Large44px image container
Status badge14px overlay

Interaction

Keyboard
KeyResult
NoneNot focusable unless inside a link or button
Pointer and touch
TriggerResponse
HoverTooltip with the full name when it is the only identifier

Accessibility

role · image

1.1.1Non-text Content1.4.1Use of Colour1.4.3Contrast (Minimum)
Requirements
RequirementHow Rig meets it
Namerole="img" with aria-label = person's name (and presence in words)
PresenceA coloured dot alone is not enough: add the word online
InitialsMark as decorative if the name is next to it
ContrastInitials on the fill at 4.5:1

Usage

Do and don’t
DoDon’t
Give photos meaningful alt text only when the person is not named nearbyDo not use colour only for status
Do not put initials in the accessible name