localgov
localgov copied to clipboard
Error messages not associated with form fields
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
How it should be
I think this issue might be relevant: https://www.drupal.org/project/drupal/issues/3083103