a11y(dossier.status): ajout de l'attribut role=alert aux status du dossier
fix(a11y): role status et non alert
This commit is contained in:
parent
99a652c297
commit
da8e876dd3
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module DossierHelper
|
|||
def status_badge(state)
|
||||
status_text = dossier_display_state(state, lower: true)
|
||||
status_class = state.tr('_', '-')
|
||||
tag.span(status_text, class: "label #{status_class} ")
|
||||
tag.span(status_text, class: "label #{status_class} ", role: 'status')
|
||||
end
|
||||
|
||||
def deletion_reason_badge(reason)
|
||||
|
|
Loading…
Reference in a new issue