Error messages accessible to assistive tech (accessibility)
The error messages are announced to users of assistive technologies (e.g., screen readers) using appropriate ARIA roles like aria-live="assertive"
Live region added after load:
This form injects the error container with role="alert" only after submit. Because the live region wasn't present at page load, some screen readers will not announce the injected error.