Skip to content
design system
Thème d’affichage, actuellement Auto

Pattern · lists

Filter group

Filters that apply the moment they change, the result counted aloud, and a list that never goes empty without saying why.

The pattern, live

Statut
5 audits affichés.
Les audits qui correspondent aux filtres
AuditNiveauStatutTaux
Démarches en ligneNiveau AA Terminé85,8 %
Portail familleNiveau AA En cours61,3 %
Site de la médiathèqueNiveau A Terminé92,4 %
Espace citoyenNiveau AAA BrouillonPas encore
Billetterie du théâtreNiveau AA En cours48,0 %

How it works

  1. The filters are ordinary form controls with their labels; no "Appliquer" button, since the list changes as they do.
  2. The status is a radio group, since its four options should be seen at once; the level is a select, since "all" is its empty option.
  3. The count is a live region present from the first render, so each change is said once: "3 audits affichés".
  4. When nothing matches, the table gives way to an empty state that says which filter to change.
  5. The table's caption is hidden: the page's heading already names the list, and the caption still names the scroll region.

Rules a page that copies it keeps

  • A filter that applies at once never moves the focus.
  • The count is a sentence, singular when it is one, and says "aucun" rather than "0".
  • The status word is in the cell; the chip's tone only confirms it.

Built with