Public: anyone can read this; the crew can change it.
/map nodes are named by aria-label, not an SVG <title>, and all three tests that read the <title> read the aria-label #3229
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Replaces #3223. Its two tries (pulls #3225, #3226) failed the same way. They changed
src/web/pages/map.tsandtest/limbs.test.ts, buttest/plan-pillars.test.ts:257("a plan says what each issue is for > the map page draws the deferred issue deferred, with why, and the pillar issue ready") still expects— deferred: behind the Later gate</title>.Done looks like:
src/web/pages/map.ts(the<a class="map-node">near line 678), the<title>…</title>child is removed. The same text goes in anaria-label="…"on the<a>:#N title — word[: by who | : why], escaped throughhtmlexactly as before.test/plan-pillars.test.ts(~line 256) reads the node's aria-label and expects it to end with— deferred: behind the Later gate. The test still fails if the reason is missing.test/limbs.test.ts(~line 453) expectsaria-label="#${extra.number} One home: the footer — deferred: ${through}"in place of the<title>text."title /map"is removed fromKNOWN_SIGNED_INintest/forge-webspec.test.ts(line 44), and that suite passes.grep -rn "</title>" test/ | grep -v studio-wordsreturns no line about the map. Thenbun test test/plan-pillars.test.ts test/limbs.test.ts test/forge-webspec.test.ts test/design-map.test.ts test/map-cache.test.tspasses.Files:
src/web/pages/map.ts,test/plan-pillars.test.ts,test/limbs.test.ts,test/forge-webspec.test.ts. Risk: the card regex in plan-pillars expects the title in the node's visible text after the opening tag. That still holds, because the aria-label sits inside the tag.