fix(a11y): passe accessibilité, théming & performance (tous modules)#12
Merged
Conversation
Systematic audit-driven fixes across 7 module groups (UI surface), verified with tsc + lint + production build (all green). Criticals: - Chat: scope the streaming live-region (was re-announcing every token) - Board: gate infinite edge animation + node pulse behind reduced-motion; add text/icon status badges (was color-only) - Settings: drop invalid CutoutCard role="button" wrapping nested interactives; add explicit "Configurer" trigger + hoist delete dialog Systemic: - aria-current on active nav (sidebar / settings / admin) - Spinner primitive: role=status on wrapper, sr-only label, motion-safe - form helper text wired via aria-describedby - citation highlight -> --highlight token (was hardcoded yellow) - list/table semantics: ul/li, scope, caption, role=progressbar, dl metrics - reduced-motion gating on spring/infinite animations - dead "Bientot" controls removed; emoji -> @tabler icons - print footer contrast; admin stats no longer hidden on mobile Bugs: - broken oklch(oklch()) vignette gradient (rendered nothing) -> color-mix - hardcoded black MiniMap maskColor -> token (dark-mode correct) Perf: - React.memo on assistant markdown rows via stable onOpenDoc, so historical messages stop re-rendering/re-linkifying on every streamed token
D4kooo
added a commit
that referenced
this pull request
Jun 2, 2026
…tomization Conflits résolus en faveur de notre branche (sur-ensemble) : elle contient déjà le travail onboarding/a11y que dataring a squashé (#4/#12), plus le sprint et la personnalisation du Board. Aucune fonctionnalité dataring perdue (les lignes divergentes étaient les versions antérieures de lignes que nos commits ont fait évoluer : focus-ring ring-2→ring-3, copie « v0.3 » corrigée, FolderRow/auto-refresh enrichis). Vérifié post-merge : tsc, lint, 117 tests, build prod OK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Quoi
Passe transversale accessibilité / théming / performance sur ~45 composants UI, issue d'un audit interne (WCAG, anti-patterns, perf). Aucun changement fonctionnel produit.
Principaux changements
Accessibilité
aria-currentsur la navigation active (sidebar / settings / admin)<ul role="list">,scope,<caption>,role="progressbar"aria-describedbysur les aides de formulaire ;aria-invalidau loginprefers-reduced-motionsur les animations infinies / springsSpinner:role="status"sur un wrapper +motion-safeThéming
--highlight(jaune codé en dur, cassé en dark mode)oklch(oklch())qui ne rendait rien ;maskColordu MiniMap codé en durPerformance
React.memosur le rendu Markdown : les messages historiques ne re-rendent plus à chaque token streaméVérification
tsc --noEmit✓ ·eslint✓ ·next build✓ ·vitest(77 tests) ✓Suivi
Items différés tracés dans la roadmap #11 (virtualisation du chat #5, cibles tactiles #7, …).