Accessibility

  • Use a <section> with aria-labelledby on the title, which is a heading, so screen readers announce "Weekly review" before the buttons.
  • Keep the source order as you see it. Tab moves through the three buttons in order; Enter or Space activates. Icons are aria-hidden.
  • Contrast from tokens.json, light then dark: on-spotlight on spotlight 7.6:1 and 9.4:1; on-spotlight-muted 5.5:1 and 6.6:1; on-spotlight-button on spotlight-button 11.1:1 and 11.6:1; tonal labels 5.2:1 and 6.5:1; spotlight-line 3.8:1; on-caution-soft on caution-soft 9.5:1 and 10.0:1; the focus ring 7.6:1 and 9.4:1.
  • Targets: 56px for the main action (size-control-xl), 48px for the others (size-control-lg).
  • Motion: cross-fade the next item in over 300 ms (--k-motion-medium); with reduced motion, swap it at once. If a product adds a swipe to remind later, the buttons stay as its alternative.