When a user submits a webform, when there is an error with the submission, focus moves to the top of the page (before the header). The form has an error summary at the top of the page and focus should be set there.
Given I'm an anonymous user
And I'm navigating using my keyboard
When I submit a form with an error
Then the focus lands on the error message at the top of the page
Active
1.10
Code