Skip to content
SprecherEast
Issue 515

enhancement: Diagram key block, a numbered legend under annotated images

Back to our plan
Done
enhancementfrontendcmsuxpriority: high

Problem

In plain words: the explanation under the interchange diagram doesn't look connected to the picture. It's an ordinary numbered list whose items also start with their own number, so readers see "1. 1 · North roundabout". The list numbers are green while the diagram's markers are orange. There's also a big gap between the picture and its explanation.

Summary of the owner's feedback (Claude in Chrome, 2026-10-30), with a screenshot: there appear to be 11 of them and their color differs from the one in Join; the space between them is too large; the bullet points look broken and disconnected from what they describe. He asked for a cleanup.

Proposed fix

Add a Diagram key rich-text block to EDITORIAL_BLOCKS (epic #506). It's a compact legend that sits right under an annotated image:

  • Each item is a numbered circle in the accent colour, the same orange as the markers drawn on the diagram, followed by a bold label and a short line of text.
  • One number per item. The circles are decoration; screen readers hear "Marker 1: North roundabout …".
  • Two columns on wide screens, one on phones. Tight spacing so it reads as part of the picture.
  • 2–9 items.

Then use it in the interchange guide in place of the old list, its heading and the duplicate "not to scale" note (the caption already says it).

Acceptance criteria

  • Not done: Editors can add a Diagram key in posts and events.
  • Not done: One number per item, in the diagram's orange (accent with accent-foreground, a contract-checked pair), readable in light and dark.
  • Not done: Sits close under the image, with no sideways scroll at 320–1920 px. axe passes.
  • Not done: The interchange guide uses it, checked live.

Area

frontend, cms, ux

Priority

priority: high


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab