fix(tradein/v2): доступность — ориентир главного содержимого и заголовок первого уровня (#2542)
All checks were successful
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 2m4s
Deploy Trade-In / deploy (push) Successful in 49s
Deploy Trade-In / changes (push) Successful in 12s
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped

This commit is contained in:
lekss361 2026-07-26 22:03:43 +00:00
parent d6b9891fe2
commit cf3d0eb4f6

View file

@ -884,7 +884,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",
@ -898,7 +900,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. */}