Skip to content

Removed autofocus from fields throughout the registration flow

What does this MR do and why?

Implements #398666 (closed).

This MR removes autofocus behaviour from a form field in the registration flow. This was missed in !119682 (merged).

Screenshots or screen recordings

Before After
Screenshot_2023-05-04_at_16.57.35 Screenshot_2023-05-04_at_17.00.42

How to set up and validate locally

  1. Navigate to http://gdk.test:3000/users/sign_up
  2. Register a user
  3. Sign in as admin to approve them
  4. Sign in as the original user and follow the registration flow
  5. There should be no autofocus on form fields (see screenshots)

Select these options when registering:

Setup settings
Screenshot_2023-05-10_at_11.28.56

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #398666 (closed)

Edited by Ross Byrne

Merge request reports