Move form errors to appear before the form instead of after

What does this MR do and why?

In https://gitlab.com/gitlab-org/gitlab/-/issues/519047#note_2935967470, Paulina identified some fixes we could apply to help assistive technologies.

While these form errors are already compliant with accessibility standards, moving them to the top may provide a better experience.

References

Screenshots or screen recordings

- Before After
Errors image image
No Errors image image

How to set up and validate locally

  • In a project, use the left nav to go to Merge Requests
  • Click "New merge request"
  • Click "Compare branches and continue"

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thomas Randolph

Merge request reports

Loading