Accessibility

  • Name: a <label for> tied to the input's id; helper and error text tied with aria-describedby, read after the name.
  • Errors: aria-invalid="true"; when a save fails, focus moves to the first field in error.
  • Keyboard: Tab moves in and out; in a multiline field, Enter adds a line.
  • Amounts: inputmode="decimal" opens a number pad with a decimal separator.
  • Targets: 48px on phones; compact 40px on the web, above the 32px minimum.
  • Contrast (light, dark): value ink on surface 17.4 and 14.4:1; label and helper ink-muted on paper 6.4 and 8.9:1; placeholder ink-muted on surface 6.7 and 8.1:1; border outline on surface 3.5 and 5.1:1; error critical on paper 6.3 and 11.0:1; focus ring 7.3 and 9.0:1.
  • Motion: none.