optimization navigation accessibility

This commit is contained in:
Julie Salha 2023-02-02 16:04:42 +01:00
parent 7c872be29c
commit 2db959531a
4 changed files with 417 additions and 462 deletions

View file

@ -5,7 +5,7 @@
= link_to "Nouvelle Démarche", new_from_existing_admin_procedures_path, id: 'new-procedure', class: 'fr-btn'
.fr-container
%nav.tabs
%nav.tabs{ role: 'navigation', "aria-label" => t('views.users.dossiers.label_navigation') }
%ul
= tab_item(t('pluralize.published', count: @procedures_publiees.count), admin_procedures_path(statut: 'publiees'), active: @statut == 'publiees', badge: number_with_html_delimiter(@procedures_publiees_count))
= tab_item('En test', admin_procedures_path(statut: 'brouillons'), active: @statut == 'brouillons', badge: number_with_html_delimiter(@procedures_draft_count))