Q13: link hit areas, search titles, journal indexing and share-image altQ13: области нажатия ссылок, поисковые заголовки, индексация журнала и alt-текст карточки

StatusСтатус
completeзавершён
ServiceСервис
portfolio
IssueIssue
#88
Pull requestPull request
#90
ReleaseРелиз
0.1.24
Lead time (h)Время цикла (ч)
1.1

What this cycle decidedЧто решил этот цикл

Four mechanical defects an external UX audit measured on production 0.1.23 and on main: .project-links a, .breadcrumb a, .journal-meta a and .table-scroll a carried no hit-area rule at all and measured 17-20px against the 24px floor test/a11y.test.ts already enforces for six other selectors, so they now carry the same min-block-size: 24px / inline-flex shape and the test's TARGET_SELECTORS covers all ten; journal and ADR titles had no length budget and 24 of them rendered over 65 characters (one at exactly 127), so src/lib/seo.ts now exports titleProblems, journalPageTitle and adrPageTitle, both routes render through them, 24 entries carry an explicit seoTitle, and test/title.test.ts computes every route's rendered title from the content files instead of a hand-typed list; every one of the 24 public journal entries reached the sitemap regardless of whether it answered a real search question or was an internal build note, so the journal schema gained an indexing: index | noindex field, astro.config.mjs's sitemap filter and scripts/check-dist.mjs's expected-set derivation both read it from src/lib/indexing.ts, and a noindex page still renders its canonical alongside noindex,follow rather than losing it; and Base.astro's og:image/twitter:image carried no alt text and no page carried structured data, so both now carry a fixed English alt string and journal/ADR pages carry one BreadcrumbList JSON-LD block built from the same values the visible breadcrumb renders, with src/lib/csp.ts's inline-script regex narrowed so the ld+json data block is never mistaken for a second inline script. The 404 page also gained a link to /work/ and a mailto: contact link below the existing home link.Внешний UX-аудит production-версии 0.1.23 и main измерил четыре механических дефекта: .project-links a, .breadcrumb a, .journal-meta a и .table-scroll a вовсе не имели правила области нажатия и составляли 17-20px против порога в 24px, который test/a11y.test.ts уже проверял для шести других селекторов, поэтому теперь они несут ту же форму min-block-size: 24px / inline-flex, а TARGET_SELECTORS теста покрывает все десять; заголовки записей журнала и ADR не имели бюджета длины, и 24 из них отрисовывались длиннее 65 символов (один — ровно 127), поэтому src/lib/seo.ts теперь экспортирует titleProblems, journalPageTitle и adrPageTitle, оба маршрута рендерятся через них, 24 записи несут явный seoTitle, а test/title.test.ts вычисляет отрисованный заголовок каждого маршрута из самих файлов контента, а не из вручную набранного списка; все 24 публичные записи журнала попадали в sitemap независимо от того, отвечали ли они на реальный вопрос поиска или были внутренней заметкой сборки, поэтому схема журнала получила поле indexing: index | noindex, фильтр sitemap в astro.config.mjs и вывод ожидаемого набора в scripts/check-dist.mjs оба читают его из src/lib/indexing.ts, а страница noindex по-прежнему рендерит свой canonical вместе с noindex,follow, а не теряет его; и og:image/twitter:image в Base.astro не несли alt-текста, а ни одна страница не несла структурированных данных, поэтому теперь обе метки несут фиксированную английскую строку alt, а страницы журнала и ADR несут один блок JSON-LD BreadcrumbList, построенный из тех же значений, что рендерит видимый breadcrumb, а регулярное выражение инлайн-скрипта в src/lib/csp.ts сужено, чтобы блок данных ld+json никогда не принимался за второй инлайн-скрипт. Страница 404 также получила ссылку на /work/ и контактную ссылку mailto: под уже существующей ссылкой на главную.

TimelineХронология

  1. Issue openedIssue открыт:
  2. MergedСмержено: +1 h 5 min+1 ч 5 мин
  3. ReleasedРелиз выпущен: +3 min+3 мин

Manual interventionsРучные вмешательства

No manual intervention was recorded for this cycle.Ручных вмешательств в этом цикле не зафиксировано.

Back to the colophonНазад к колофону