a11y(particulier/merge): no empty legend, ensure to link fieldset with legend

This commit is contained in:
mfo 2024-07-24 17:08:29 +02:00 committed by Kara Diaby
parent 03d425859d
commit 3cd5d778ca
No known key found for this signature in database
GPG key ID: C4D1B0CF9F24D759

View file

@ -5,8 +5,8 @@
%p= t('.subtitle_html', email: @fci.email_france_connect, application_name: Current.application_name)
%fieldset.fr-fieldset
%legend.fr-fieldset__legend= t('.label_select_merge_flow', email: @fci.email_france_connect)
%fieldset.fr-fieldset{ aria: { labelledby: 'merge-account' } }
%legend.fr-fieldset__legend#merge-account= t('.label_select_merge_flow', email: @fci.email_france_connect)
.fr-fieldset__element.fr-fieldset__element--inline
.fr-radio-group
%input{ type: 'radio', id: 'it-is-mine', name: 'value', value: 'true', autocomplete: "off", onclick: "DS.showFusion(event);" }