Accessibility

  • Give the group role="group" and an aria-label naming what the actions act on, "Weekly review" or "Studio project", unless a heading beside it already says so.
  • The DOM order is the visual order, strongest first, so Tab moves left to right, then down.
  • Targets: every button keeps 48px on phones; the 8px gap keeps neighbours apart.
  • Contrast, light / dark: each button keeps its Button pair. In the spotlight, on-spotlight on spotlight-tonal is 5.2 / 6.5:1, on-spotlight-button on spotlight-button 11.1 / 11.6:1, the spotlight-line edge 3.8:1, and the focus ring turns on-spotlight, 7.6 / 9.4:1.
  • Labels never truncate: if a two-up label does not fit its half, shorten it or stack the buttons.