From d5fe670a2b04aa9209014f25732bd488805aca54 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 8 Dec 2025 16:15:07 +0100 Subject: [PATCH] fix: improve color contrast for WCAG accessibility compliance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change required field asterisks from text-red-500 to text-red-700 font-bold - Improve delete button contrast from bg-red-500 to bg-red-600 - Update helper text from text-gray-500 to text-gray-600 Fixes contrast errors reported by WAVE accessibility tool 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/forgot-password/page.tsx | 2 +- app/login/page.tsx | 4 ++-- app/profil/page.tsx | 4 ++-- app/register/page.tsx | 14 +++++++------- app/reset-password/page.tsx | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/forgot-password/page.tsx b/app/forgot-password/page.tsx index ed9d926..558294b 100644 --- a/app/forgot-password/page.tsx +++ b/app/forgot-password/page.tsx @@ -120,7 +120,7 @@ export default function ForgotPasswordPage() { {/* Email */}
diff --git a/app/profil/page.tsx b/app/profil/page.tsx index 2f3097f..e1c28d4 100644 --- a/app/profil/page.tsx +++ b/app/profil/page.tsx @@ -172,7 +172,7 @@ export default function ProfilePage() { @@ -325,7 +325,7 @@ export default function ProfilePage() { diff --git a/app/register/page.tsx b/app/register/page.tsx index eaa6479..493a9e0 100644 --- a/app/register/page.tsx +++ b/app/register/page.tsx @@ -139,7 +139,7 @@ export default function RegisterPage() {
@@ -239,7 +239,7 @@ export default function RegisterPage() { {...register("phone")} className={`w-full px-4 py-3 border ${errors.phone ? 'border-red-500' : 'border-gray-300'} rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent`} /> -

Optionnel - Format: 06 12 34 56 78

+

Optionnel - Format: 06 12 34 56 78

{errors.phone && (

{errors.phone.message}

)} @@ -248,7 +248,7 @@ export default function RegisterPage() { {/* Mot de passe */}
@@ -286,7 +286,7 @@ export default function RegisterPage() { {/* Confirmer mot de passe */}
@@ -337,7 +337,7 @@ export default function RegisterPage() { politique de confidentialité {' '} - * +
diff --git a/app/reset-password/page.tsx b/app/reset-password/page.tsx index f077495..f293c0d 100644 --- a/app/reset-password/page.tsx +++ b/app/reset-password/page.tsx @@ -133,7 +133,7 @@ function ResetPasswordForm() { {/* New Password */}
@@ -171,7 +171,7 @@ function ResetPasswordForm() { {/* Confirm Password */}