Accessibility

  • A person keeps one avatar style everywhere, as in Fluent's persona: G is ink in the app bar, in statement rows and in stacks, and Ada is tonal in all of them. The initial and the name tell people apart, never the colour alone.
  • When a name is next to the avatar, as in a persona or a row whose meta says "You paid 212.40", the initial is aria-hidden="true"; otherwise a screen reader reads "G, You".
  • An avatar on its own gets role="img" and the person's name as aria-label. A stack gets one label for everyone in it: "You and Ada".
  • Keyboard: avatars are not tab stops; the button around one is.
  • Contrast from tokens.json, light then dark: on-ink on ink 16.7:1 and 15.9:1; ink on container 14.3:1 and 12.0:1; on-accent-soft on accent-soft 9.5:1 and 9.6:1; the persona's meta, ink-muted on paper, 6.4:1 and 8.9:1. The fill is not a control boundary, so it needs no 3:1 against the ground.
  • Motion: none.