From 6383dc359b2ae7ddcdf3286ea5afce4334134a3a Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Thu, 25 Jul 2024 14:05:42 +0200 Subject: [PATCH] Remove useless aria-labelledby attribute --- app/views/devise/passwords/new.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/passwords/new.html.haml b/app/views/devise/passwords/new.html.haml index e2f68f417..78737be64 100644 --- a/app/views/devise/passwords/new.html.haml +++ b/app/views/devise/passwords/new.html.haml @@ -9,8 +9,8 @@ = devise_error_messages! = form_for(resource, as: resource_name, url: password_path(resource_name)) do |f| - %fieldset.fr-mb-0.fr-fieldset{ aria: { labelledby: 'new-password-legend' } } - %legend.fr-fieldset__legend#new-password-legend + %fieldset.fr-mb-0.fr-fieldset + %legend.fr-fieldset__legend %h1.fr-h2= t('devise.passwords.new.forgot_your_password') .fr-fieldset__element