diff --git a/tradein-mvp/frontend/src/app/ui-preview/estimate/page.tsx b/tradein-mvp/frontend/src/app/ui-preview/estimate/page.tsx index 31a6775e..47bdb4bb 100644 --- a/tradein-mvp/frontend/src/app/ui-preview/estimate/page.tsx +++ b/tradein-mvp/frontend/src/app/ui-preview/estimate/page.tsx @@ -119,6 +119,24 @@ function PreviewContent() { {/* Те же layout-классы, что у реальной страницы (page.tsx): .page → .result-col (flex-column gap, --container ширина). Без них карточки рендерились узко/«мобильно». */}
+ {/* #835: страница-результат рендерит HeroSummary как h2 — добавляем + визуально-скрытый h1 (page-has-heading-one). На реальной page.tsx h1 + есть в page-title; здесь (preview, аудит) обёртки нет. */} +

+ Оценка стоимости квартиры +

{/* 1. SourcesProgress */} diff --git a/tradein-mvp/frontend/src/components/trade-in/DealsCard.tsx b/tradein-mvp/frontend/src/components/trade-in/DealsCard.tsx index 600a1a92..627c103f 100644 --- a/tradein-mvp/frontend/src/components/trade-in/DealsCard.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/DealsCard.tsx @@ -128,7 +128,7 @@ export function DealsCard({ estimate }: Props) { ₽ / м² Цена сделки Дата - + diff --git a/tradein-mvp/frontend/src/components/trade-in/DistributionCard.tsx b/tradein-mvp/frontend/src/components/trade-in/DistributionCard.tsx index 2be7d03e..e39214c8 100644 --- a/tradein-mvp/frontend/src/components/trade-in/DistributionCard.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/DistributionCard.tsx @@ -94,7 +94,8 @@ export function DistributionCard({ estimate }: Props) { -
+ {/* #835: декоративный чарт — aria-hidden (данные в тексте/легенде карточки). */} +
-
+ {/* #835: чарт декоративный (данные — в заголовке/легенде/тексте карточки); + aria-hidden убирает recharts symbol'ы role="img" без accessible-name. */} +