Skip to content

Meet dark-mode non-text contrast and prevent SVG label clipping in gap analysis charts #623

Closed

Description

@realmarcin

Found during adversarial review of #618.

  1. CHART_PALETTE in assets/gaps/browser.js reuses light-mode #a51b78 (2.39:1), #6b46c1 (2.58:1), and #be123c (2.63:1) in dark mode against --card (#1a201d), falling below the WCAG 2.1 SC 1.4.11 3.0:1 non-text contrast threshold; check_gap_visualizations_20261116.py only checked overview contrast rather than #gap-analyses.
  2. renderPairsNetwork() (W = 680, rx = 180) leaves 138 px for 21-character bold labels (~143 px), clipping up to ~5 px at the horizontal extremes.
  3. Clarify the 16x16 matrix caption (source-vocabulary discussion pairs vs per-cell distinct discussions), clarify unthresholded snapshot scope in #gap-bridges-summary, and fix swapped HabitatMech (complete) / CMMMech (unsupported) examples in _gaps/README.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions