From 391ff9bed83e41f519e21f134bfe61501fa8d56e Mon Sep 17 00:00:00 2001 From: bot-frontend Date: Sat, 30 May 2026 23:23:31 +0300 Subject: [PATCH] =?UTF-8?q?fix(tradein):=20aria-label=20=D0=BD=D0=B0=20inp?= =?UTF-8?q?ut[type=3Dfile]=20=D0=B2=20PhotoUpload=20(a11y=20critical)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit axe-core: input загрузки фото без label — скринридер не объявляет назначение. Добавлен aria-label=«Загрузить фото квартиры». Refs #839, #801 --- tradein-mvp/frontend/src/components/trade-in/PhotoUpload.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/tradein-mvp/frontend/src/components/trade-in/PhotoUpload.tsx b/tradein-mvp/frontend/src/components/trade-in/PhotoUpload.tsx index a8154965..c52ee16f 100644 --- a/tradein-mvp/frontend/src/components/trade-in/PhotoUpload.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/PhotoUpload.tsx @@ -103,6 +103,7 @@ export function PhotoUpload({ estimateId }: { estimateId: string }) { type="file" accept="image/*" multiple + aria-label="Загрузить фото квартиры" disabled={uploading || full} onChange={(e) => handleFiles(e.target.files)} />