Skip to content

The homepage mono kicker leaves the known-defect list - #390

Merged
Apolloccrypt merged 2 commits into
mainfrom
fix/known-light-hp-kicker
Sep 3, 2026
Merged

The homepage mono kicker leaves the known-defect list#390
Apolloccrypt merged 2 commits into
mainfrom
fix/known-light-hp-kicker

Conversation

@Apolloccrypt

@Apolloccrypt Apolloccrypt commented Sep 3, 2026

Copy link
Copy Markdown
Owner

De mono-kicker van de homepage stond als bekend geval in KNOWN_LIGHT in
tests/theme-contrast.test.mjs, op 4.31:1 tegen het tweede papier. #389 heeft
--hp-ink-3 van #66727F naar #5F6B78 gezet en daarmee haalt hij AA. De
regel is uit de lijst. De lijst wordt korter, nooit langer.

De meting

Gemeten op deze tak, p.hp-kicker op /, licht, 390 en 1440, na uitgezette
transities:

kicker papier ratio nodig
Why there are two kinds of plan #FAF8F3 5.12:1 4.5
Do not take our word for it #F3F0E8 4.78:1 4.5
Two products #FAF8F3 5.12:1 4.5
How it works #FAF8F3 5.12:1 4.5
What it costs #FAF8F3 5.12:1 4.5
Why you can trust it #FAF8F3 5.12:1 4.5

Tekstkleur overal rgb(95, 107, 120), 12px. Het slechtste geval is 4.78:1, de
regel die eerder 4.31:1 gaf. Identiek op beide breedtes.

Groen zonder het geval

node --test tests/theme-contrast.test.mjs
ok 1 - every page clears WCAG AA in light, and the known page defects do not grow
# light: 4452 text pairs measured across 16 pages at 390 and 1440
# light: 4 of the 4 known page defects still present

Rood met de sabotage

--hp-ink-3 in frontend/index.html tijdelijk terug op #66727F, daarna
teruggedraaid:

not ok 1 - every page clears WCAG AA in light, and the known page defects do not grow
  / p.hp-kicker: 4.31:1 (needs 4.5), rgb(102, 114, 127) on rgb(243, 240, 232), "Do not take our word for it"

Precies dat ene nieuwe geval, en niets anders. De wacht bijt dus nog.

De andere vier gehercontroleerd

De hele lijst is opnieuw gemeten met KNOWN_LIGHT leeg. Alle vier de
overgebleven gevallen falen nog en blijven staan:

plek ratio kleur op achtergrond
/about a.btn.btn-primary 1:1 rgb(29, 78, 216) op rgb(29, 78, 216)
/security span.check 1.16:1 rgb(178, 255, 63) op rgb(248, 250, 252)
/docs code 1.41:1 en 1.48:1 rgb(11, 58, 106) op rgb(34, 86, 100) en rgb(134, 61, 34)
/docs a 1:1 en 1.15:1 rgb(11, 58, 106) op rgb(11, 58, 106) en rgb(127, 29, 29)

Alleen de kicker is dus weg.

Poorten

tests/static-sanity.sh PASS (alle 11 blokken),
scripts/check-test-declarations.sh OK (124 suites),
npx eslint@9 . schoon, scripts/check-commit-style.sh OK.

Herbasseerd op 3cc2df8 (#388, dat 17 frontend-paginaGeen productiecode geraakt, alleen de testlijst en het commentaar erboven.#39;s aanraakt) en daar\nopnieuw gemeten: zelfde uitkomst, alleen de kicker haalt het nu wel.\n\nGeen productiecode geraakt, alleen de testlijst en het commentaar erboven.

@Apolloccrypt
Apolloccrypt force-pushed the fix/known-light-hp-kicker branch from 8959c28 to 05818e2 Compare September 3, 2026 02:56
#389 zette --hp-ink-3 van #66727F naar #5F6B78. Gemeten op deze tak haalt
p.hp-kicker op / nu 4.78:1 tegen het tweede papier (#F3F0E8) en 5.12:1 tegen
#FAF8F3, allebei boven de 4.5 die AA vraagt. De regel hoort dus niet meer in
KNOWN_LIGHT, en die lijst mag alleen korter worden.

De vier andere gevallen zijn opnieuw gemeten met een lege lijst en falen alle
vier nog: /about a.btn.btn-primary 1:1, /security span.check 1.16:1, /docs code
1.41:1 en 1.48:1, /docs a 1:1 en 1.15:1. Die blijven staan.

Bewijs: zonder het geval is theme-contrast groen, 4448 tekstparen over 16
pagina's, 4 van de 4 bekende gevallen nog aanwezig. Zet je --hp-ink-3 in
frontend/index.html tijdelijk terug op #66727F, dan valt hij rood met precies
dat ene nieuwe geval, / p.hp-kicker 4.31:1.
@Apolloccrypt
Apolloccrypt force-pushed the fix/known-light-hp-kicker branch from 05818e2 to 6773d2b Compare September 3, 2026 03:33
@Apolloccrypt
Apolloccrypt merged commit 53f6733 into main Sep 3, 2026
13 checks passed
Apolloccrypt added a commit that referenced this pull request Sep 3, 2026
…e bar is measured on three pages

Review of #392 found the hole in the first round. developer.html keeps its own
navigation (KEEP_OWN_NAV in frontend/apply-nav.py), is stamped by hand, and
carries a hamburger. The round moved Sign in and Help out of the bar below
700px and into a strip under the drawer, and that page never got a strip. So on
a 390px screen both links measured 0x0 there, where main still had them in the
bar. A page the generator does not own is a page a generated fix does not
reach.

Three things, because one of them alone would leave the same gap open.

The markup. developer.html carries the strip now, like every stamped page.

The script. nav.js builds the strip when a page has a menu button and no strip.
A page can forget the markup; this cannot forget to build it. That is a floor
under the live site, not a substitute for the markup, which is why it comes
with the check below rather than instead of it.

The check. tests/navigation-shell reads every .html in frontend/, not only the
51 the generator writes, and fails on any page that has id="nav-hamburger"
without id="nav-mobile-tail". 52 pages carry the button. Taking the strip back
out of developer.html turns it red and names the file.

And the measurement moved. The three phone-bar checks ran on the homepage
alone, which is exactly why they were green while /developer was broken. They
run on /, /pricing and /developer now, each with a fourth check that the strip
really holds /auth/login and /help at 44px or more. /developer measures logo
x16-95, Create account x181-318, menu x330-374, gaps 86 and 12, all heights 44.

39 checks, all green. Rebased on main with #379, #390 and #391.
@Apolloccrypt
Apolloccrypt deleted the fix/known-light-hp-kicker branch September 5, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant