fix(RNF verification) Return search results to assistive technology

This commit is contained in:
Corinne Durrmeyer 2024-11-04 15:37:52 +01:00
parent 83c942c338
commit f59834015f
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
3 changed files with 3 additions and 3 deletions

View file

@ -2,4 +2,4 @@
en:
rnf_info_error: No foundation found
rnf_info_pending: RNF verification pending
rnf_info_success: "This RNF matches %{title}, %{address}"
rnf_info_success: "This RNF matches: %{title}, %{address}"

View file

@ -2,4 +2,4 @@
fr:
rnf_info_error: Aucune fondation trouvée
rnf_info_pending: Vérification du RNF en cours
rnf_info_success: "Ce RNF correspond à %{title}, %{address}"
rnf_info_success: "Ce RNF correspond à : %{title}, %{address}"

View file

@ -1,6 +1,6 @@
= @form.text_field :external_id, input_opts(id: @champ.input_id, required: @champ.required?, class: "width-33-desktop fr-input small-margin", aria: { describedby: @champ.describedby_id })
.rnf-info{ id: dom_id(@champ, :rnf_info) }
.rnf-info{ id: dom_id(@champ, :rnf_info), role: 'status' }
- if @champ.fetch_external_data_error?
%p.fr-error-text= t('.rnf_info_error')
- elsif @champ.fetch_external_data_pending?