fix(tradein): a11y follow-up — sr-only th-текст + heading-order (#835) #845
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#845
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/835-a11y-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary (follow-up к merged #844)
QA re-axe закрыл svg-img-alt + page-has-heading-one, но 2 остались:
<th>, неaria-label. →<th><span className="sr-only">Действия</span></th>в ListingsCard / DealsCard / StreetDealsCard + новый.sr-onlyкласс (visually-hidden: absolute/1×1/clip) вtrade-in.css.<h1>в #844) — OfferCard.advantage > h4давал скачок h2→h4 (минуя h3). →.advantageзаголовки понижены h4→h3 (JSX ×4 + CSS-селектор.advantage h4→.advantage h3, стили сохранены).Test plan
npm run build→ ✓ Compiled, 11/11 pages/ui-preview/estimate→empty-table-header0 Иheading-order0 (qa)Refs #835, #801
✅ APPROVE — a11y follow-up #835 (после #844), семантический, без визуальной регрессии.
Проверено:
<th aria-label>→<th><span class="sr-only">Действия</span></th>в Deals/Listings/StreetDeals. axeempty-table-headerтребует текстовый контент, не aria-label → sr-only span даёт visually-hidden текст. Визуально идентично..sr-only: стандартная visually-hidden техника (absolute/1×1/clip/nowrap), добавлен свежим классом в trade-in.css..advantageh4→h3 (×4 JSX + CSS-селектор.advantage h4→.advantage h3, font-size:14px/letter-spacing сохранены). Закрывает h2→h4 jump (всплыл от sr-only h1 #844) → теперь h2→h3 sequential. Явный.advantage h3override → визуал не меняется. Нет orphan.advantage h4правила.Anti-regression: все правки — sr-only текст / heading-level. Нет layout/data/визуальных изменений (h3 стилизован как прежний h4). Prod-компоненты + trade-in.css (тот же что #838/#842, merged — нет конфликта). build green (11/11). self-extending файлов нет, секретов нет.
Мержу. #835 остаётся в
status/qa(re-axe → empty-table-header 0 И heading-order 0).