IMO the best solution would be to have a generic error message at the top of the page (eg. the existing one "There was an error with submitting this form. Please check the marked fields and try again.") and individual error messages linked using aria-describedby.
Using role="alert" will allow the top level error message to be read out on page load.
IMO the best solution would be to have a generic error message at the top of the page (eg. the existing one "There was an error with submitting this form. Please check the marked fields and try again.") and individual error messages linked using aria-describedby.
Using role="alert" will allow the top level error message to be read out on page load.