Merge pull request #8266 from mfo/a11y/use-alert-for-badges
a11y(dossier.status): ajout de l'attribut role=alert aux status du dossier
This commit is contained in:
commit
a6c15975b9
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