From 618b6890915cd76e006e3510e50ab39d103dd307 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 8 Dec 2025 15:06:30 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20am=C3=A9lioration=20accessibilit=C3=A9?= =?UTF-8?q?=20WAVE=20-=20corrections=20multiples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ajout h2 sr-only dans Footer, login, register, forgot-password pour hiérarchie titres - Correction contraste TicketTableRow (text-gray-700) - Correction contraste StatusBadge (couleurs -900) - Correction contraste page jeux (text-gray-700) - Correction labels orphelins page profil (label → span) - Mise à jour FAQContent 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/faq/FAQContent.tsx | 5 ++++- app/forgot-password/page.tsx | 2 ++ app/jeux/page.tsx | 2 +- app/login/page.tsx | 2 ++ app/profil/page.tsx | 24 ++++++++++++------------ app/register/page.tsx | 2 ++ components/Footer.tsx | 2 ++ components/ui/StatusBadge.tsx | 32 ++++++++++++++++---------------- components/ui/TicketTableRow.tsx | 4 ++-- 9 files changed, 43 insertions(+), 32 deletions(-) diff --git a/app/faq/FAQContent.tsx b/app/faq/FAQContent.tsx index c81807b..e10aa24 100644 --- a/app/faq/FAQContent.tsx +++ b/app/faq/FAQContent.tsx @@ -198,7 +198,9 @@ export default function FAQContent() { {/* FAQ Questions */}
-
+
+

Liste des questions fréquentes

+
{filteredFAQs.length === 0 ? (
@@ -255,6 +257,7 @@ export default function FAQContent() {
)) )} +
diff --git a/app/forgot-password/page.tsx b/app/forgot-password/page.tsx index 67b8280..ed9d926 100644 --- a/app/forgot-password/page.tsx +++ b/app/forgot-password/page.tsx @@ -104,6 +104,8 @@ export default function ForgotPasswordPage() { {/* Form Container */}
+ {/* Hidden h2 for accessibility - maintains heading hierarchy */} +

Formulaire de réinitialisation

{/* Error Message */} {error && ( diff --git a/app/jeux/page.tsx b/app/jeux/page.tsx index bb25208..9840afe 100644 --- a/app/jeux/page.tsx +++ b/app/jeux/page.tsx @@ -158,7 +158,7 @@ export default function JeuxPage() {
)} -

+

Format: TTP2025ABC (10 caractères)

diff --git a/app/login/page.tsx b/app/login/page.tsx index 0d8bb4a..d817c46 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -110,6 +110,8 @@ export default function LoginPage() { {/* Form Container */}
+ {/* Hidden h2 for accessibility - maintains heading hierarchy */} +

Formulaire de connexion

{/* Login Form */}
diff --git a/app/profil/page.tsx b/app/profil/page.tsx index 9883546..2f3097f 100644 --- a/app/profil/page.tsx +++ b/app/profil/page.tsx @@ -128,35 +128,35 @@ export default function ProfilePage() { {!isEditing ? (
- +

{user.firstName}

- +

{user.lastName}

- +

{user.email}

- +

{user.phone || "Non renseigné"}

- +
{getRoleLabel(user.role)} @@ -242,9 +242,9 @@ export default function ProfilePage() {
- +

{formatDate(user.createdAt)}

diff --git a/app/register/page.tsx b/app/register/page.tsx index 73463f1..eaa6479 100644 --- a/app/register/page.tsx +++ b/app/register/page.tsx @@ -129,6 +129,8 @@ export default function RegisterPage() { {/* Form Container */}
+ {/* Hidden h2 for accessibility - maintains heading hierarchy */} +

Formulaire d'inscription

{/* Registration Form */} diff --git a/components/Footer.tsx b/components/Footer.tsx index fd13cba..15f8ac5 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -41,6 +41,8 @@ export default function Footer() { return (