CSS
Error Shake Feedback
One-shot transform shake paired with aria-live hints and a reduced-motion outline fallback, in subtle single-shake and assertive border-flash variants.
One-shot transform shake paired with aria-live hints and a reduced-motion outline fallback, in subtle single-shake and assertive border-flash variants.
Feedback / validation / reduced-motion aware
Reimplements the form shake as a one-shot transform burst paired with an accessible hint and a static outline fallback for prefers-reduced-motion.
One-shot low-amplitude · invalid on submit
A single short horizontal shake plays on submit or blur. Amplitude stays small so the motion reads as a correction nudge rather than a jolt.
Stronger amplitude · outline flashes red
For repeat offences the amplitude widens and the outline flashes red for the duration of the shake. Screen readers get the outcome through aria-live text, not motion.