- JournalPostCard: the title link is the card's only anchor; the image is no longer a link and the separate read-more link is gone; the whole card stays clickable through a CSS stretched link with the focus ring on the card; prop headingLevel (2 | 3, default 2) - related posts keep their h2 and render their cards at h3; JournalPostList passes headingLevel through - smoke checks headings=strict (one h1, no skipped level) and cardlinks=N on every fixture page; expectation files for postTitleTag forced to h1 and p (the documented two-h1 and no-h1 consequences) BREAKING CHANGE: .journal-post-card__more and the image link (.journal-post-card__image is now a div) are removed from post cards.
8 lines
493 B
Plaintext
8 lines
493 B
Plaintext
# SSR expectations with journal.postTitleTag forced to h1
|
|
# (NUXT_PUBLIC_JOURNAL_POST_TITLE_TAG=h1, UI-SPEC L6 override). The title is
|
|
# an h1 in both Journal H1 modes; with the setting off the body keeps its h1,
|
|
# so the page has two: the documented consequence of the override, which
|
|
# the crawler reports.
|
|
200 /blog/heading-on count=<h1:1 contains=<h1 class="journal-post__title"
|
|
200 /blog/heading-off count=<h1:2 contains=<h1 class="journal-post__title" contains=<h1>Body heading one</h1>
|