From fe6780267932a79414469b6866db6283869e875c Mon Sep 17 00:00:00 2001 From: ht Date: Sun, 6 Sep 2026 18:12:30 +0300 Subject: [PATCH] improve exchange amount accessibility --- docs/quality/uygulama-durumu.md | 6 ++++++ src/components/TenderDetailModal.jsx | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/quality/uygulama-durumu.md b/docs/quality/uygulama-durumu.md index 81dd990..e2fe659 100644 --- a/docs/quality/uygulama-durumu.md +++ b/docs/quality/uygulama-durumu.md @@ -1994,3 +1994,9 @@ Doğrulama: 287 test geçti, üretim derlemesi başarılı. Kur farkı hesaplayıcısı artık negatif, sonsuz veya güvenli sınır dışı teklif tutarlarını kabul etmiyor; hatalı girişte açık uyarı gösterip USD/EUR dönüşüm sonucunu üretmiyor. Doğrulama: 287 test geçti, üretim derlemesi başarılı. + +### 2026-09-06 · Kur tutarı erişilebilirlik etiketi + +Kur hesaplayıcısındaki tutar alanı artık ondalık klavye ipucu, geçersiz giriş durumu ve ilişkili hata açıklamasıyla ekran okuyucu ve mobil giriş akışlarına açık. + +Doğrulama: 287 test geçti, üretim derlemesi başarılı. diff --git a/src/components/TenderDetailModal.jsx b/src/components/TenderDetailModal.jsx index 55c1725..d7770d6 100644 --- a/src/components/TenderDetailModal.jsx +++ b/src/components/TenderDetailModal.jsx @@ -379,6 +379,9 @@ export const TenderDetailModal = () => { min="0" max="1000000000000" step="0.01" + inputMode="decimal" + aria-invalid={Boolean(bidAmountError)} + aria-describedby={bidAmountError ? 'fx-bid-amount-error' : undefined} onChange={(e) => { const value = Number(e.target.value); setBidAmount(value); @@ -386,7 +389,7 @@ export const TenderDetailModal = () => { }} className="w-full bg-white/10 border border-white/20 rounded-lg px-3 py-1.5 text-xs text-white" /> - {bidAmountError &&

{bidAmountError}

} + {bidAmountError && }