fix(tradein/v2): доступность — ориентир главного содержимого и заголовок первого уровня #2542

Merged
lekss361 merged 1 commit from fix/tradein-audit-a11y into main 2026-07-26 22:03:44 +00:00

View file

@ -883,7 +883,9 @@ export default function TradeInV2Page() {
{/* #2264 C5: the page's single visible "title" is the SVG logo in TopNav, {/* #2264 C5: the page's single visible "title" is the SVG logo in TopNav,
so give the document a real, visually-hidden <h1> (page-has-heading-one so give the document a real, visually-hidden <h1> (page-has-heading-one
+ a top of the heading order for the overlay/panel <h2>s). */} + a top of the heading order for the overlay/panel <h2>s). Text mirrors
the <title> in layout.tsx ("МЕРА · Оценка v2") so a screen-reader user
landing on the page hears the same product framing as the tab title. */}
<h1 <h1
style={{ style={{
position: "absolute", position: "absolute",
@ -897,7 +899,7 @@ export default function TradeInV2Page() {
border: 0, border: 0,
}} }}
> >
Мера оценка квартиры МЕРА · Оценка недвижимости
</h1> </h1>
{/* Polite, visually-hidden status announcer for SR users. */} {/* Polite, visually-hidden status announcer for SR users. */}