Accessibility

  • The title is a heading at its section's level (h2 on a page, h3 in a card); the body is a paragraph.
  • The marks carry no information here, so their row is aria-hidden="true"; the title says what is empty.
  • The button's label names the outcome ("Attach file"); its icon is aria-hidden="true".
  • Targets: the button is 48px tall (size-control-lg).
  • Contrast, on surface: the title, ink, 17.4:1 in light and 14.4:1 in dark; the body, ink-muted, 6.7:1 and 8.1:1; the marks' ink outline, the same 17.4:1 and 14.4:1; the button's label, on-accent on accent, 7.6:1 and 7.7:1; the focus ring, 7.6:1 and 8.2:1.
  • Motion: only the button's press, which prefers-reduced-motion: reduce removes.