fix(a11y/html): email input with autocomplete=email

This commit is contained in:
Colin Darie 2022-08-30 16:26:21 +02:00
parent 4535810ed4
commit ba70cae75a

View file

@ -8,7 +8,7 @@
= render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }
= f.label :email, t('views.users.sessions.new.email')
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true
= f.text_field :email, type: :email, autocomplete: 'email', autofocus: true
= f.label :password, t('views.users.sessions.new.password', min_length: PASSWORD_MIN_LENGTH)
= f.password_field :password, autocomplete: 'current-password'