From 1b40c3856d189be84ac8dfa60f5988b5fa8b805e Mon Sep 17 00:00:00 2001 From: c0mrade Date: Tue, 26 May 2026 00:06:59 +0300 Subject: [PATCH] fix(a11y): associate referral form labels with their inputs Add htmlFor/id pairs across the partner-apply form (company, channel, website, description, expected referrals, desired commission) and the withdrawal-request form (amount, payment details) so labels are programmatically tied to their controls (WCAG 1.3.1). --- src/pages/ReferralPartnerApply.tsx | 36 ++++++++++++++++++++----- src/pages/ReferralWithdrawalRequest.tsx | 9 +++++-- 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/src/pages/ReferralPartnerApply.tsx b/src/pages/ReferralPartnerApply.tsx index 766e063..c845fd0 100644 --- a/src/pages/ReferralPartnerApply.tsx +++ b/src/pages/ReferralPartnerApply.tsx @@ -65,10 +65,14 @@ export default function ReferralPartnerApply() {
-
-
-
-