remove aria on epci input because it s enclosed in a fieldset with the correct aria

This commit is contained in:
simon lehericey 2024-11-29 09:37:27 +01:00 committed by Corinne Durrmeyer
parent 483b3c7f11
commit 94ad9c8359
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -8,4 +8,4 @@
.fr-select-group .fr-select-group
= @form.label :value, for: @champ.epci_input_id, class: 'fr-label' do = @form.label :value, for: @champ.epci_input_id, class: 'fr-label' do
- "EPCI" - "EPCI"
= @form.select :value, epci_options, epci_select_options, required: @champ.required?, id: @champ.epci_input_id, aria: { describedby: "#{@champ.describedby_id} #{@champ.error_id}" }, class: "width-33-desktop width-100-mobile fr-select" = @form.select :value, epci_options, epci_select_options, required: @champ.required?, id: @champ.epci_input_id, class: "width-33-desktop width-100-mobile fr-select"