localgov icon indicating copy to clipboard operation
localgov copied to clipboard

Error messages not associated with form fields

Open RyanFH257 opened this issue 9 months ago • 1 comments

Whilst working on a microsite form, I noticed that the error messages were not programatically associated with their form fields. This means the error messages are not read out by screen readers.

I checked our main council website and saw it was an issue there too. I also checked a few other council sites and found the same issue.

This seems to be an issue with the webform module and not an LGD specific one, but it would be good if we could fix it and pass it back.

How it currently is

Image

How it should be

Image

RyanFH257 avatar Mar 06 '25 12:03 RyanFH257

I think this issue might be relevant: https://www.drupal.org/project/drupal/issues/3083103

msayoung avatar Mar 06 '25 14:03 msayoung