Skip to content

a11y: /analytics?tab=prefix-tool contrast violations exposed by #1706 coverage #1718

@Kpa-clawbot

Description

@Kpa-clawbot

Summary

PR #1711 added #/analytics?tab=prefix-tool to the M5/M6 axe-core color-contrast gate, exposing the two action buttons.

Allowlisted in #1711 to unblock CI coverage; fix is owed in this issue.

Failing run

https://github.com/Kpa-clawbot/CoreScope/actions/runs/27469371752/job/81198104145

Selectors + measured contrast

WCAG threshold: 4.5:1.

Selector Notes
#ptCheckBtn white on #4a9eff accent, measured ~2.75
#ptGenBtn white on #4a9eff accent, measured ~2.75

8 cell failures (2 buttons × 4 cells).

Fix sketch

Same shared accent-button problem as subpaths / rf-health / clock-health filter. Fixing the shared token closes this one too.

Acceptance

  • Remove both entries from tests/a11y-allowlist.yaml.
  • node test-a11y-axe-1668.js passes net=0 on the 4 prefix-tool cells.

Metadata

Metadata

Assignees

No one assigned

    Labels

    m5-followupFollow-up from M5 a11y coverage expansiontype: a11yAccessibility improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions