From 55629a8f224674ece7ba90d18cb43a030ae77470 Mon Sep 17 00:00:00 2001 From: billisdead Date: Wed, 24 Jun 2026 10:12:14 +0200 Subject: [PATCH] Fix dark mode FOUC with blocking inline script in index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply a11y classes (dark, dyslexia, high-contrast, large-text) from localStorage synchronously before any paint, eliminating the visible flash on initial load. Also fix lang="en" → lang="fr". The useEffect in AccessibilityProvider continues to handle subsequent toggles — the inline script only covers the initial page load. Co-Authored-By: Claude Sonnet 4.6 --- artifacts/voix-du-peuple/index.html | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/artifacts/voix-du-peuple/index.html b/artifacts/voix-du-peuple/index.html index 828bd92..bc6771b 100644 --- a/artifacts/voix-du-peuple/index.html +++ b/artifacts/voix-du-peuple/index.html @@ -1,10 +1,26 @@ - + La Voix du Peuple + +