Accessibility

  • A <button>. Extended, the label "Add" is its name; icon only, aria-label="Add something".
  • Place it in the DOM after the screen's content and before the navigation bar, where it sits on screen, so Tab and screen readers meet it in that order.
  • Keep it 16px (space-lg) from the right edge and above the navigation bar, and pad the end of the scroll by 72px so the last row clears it.
  • Target: 56px.
  • Contrast, light / dark: on-ink on ink 16.7 / 15.9:1, and the ink fill on paper 16.7 / 15.9:1; on-accent on accent 7.6 / 7.7:1, and the accent fill on paper 7.3 / 9.0:1; the focus ring on paper 7.3 / 9.0:1.
  • Motion: the press is a 300ms spring; prefers-reduced-motion turns the shrink off.