A red border or color change may indicate an error visually but provide no clear signal for people with color vision differences or screen readers.
Inspect error text, icons, field labels, programmatic associations, contrast, and announcements. Test invalid form submission with keyboard and assistive technology.
Pair color with clear text and accessible state information, then retest. Informatix Systems can assess web accessibility and form usability.