Skip to content

fix(overlay): tab-order badges and finding labels pass contrast (0.15.7) - #31

Merged
DuncanFaulkner merged 2 commits into
mainfrom
fix/tab-order-badge-contrast
Oct 3, 2026
Merged

DuncanFaulkner merged 2 commits into
mainfrom
fix/tab-order-badge-contrast

Conversation

@DuncanFaulkner

Copy link
Copy Markdown
Contributor

Fixes the board card "a11y-devtools: tab-order badges fail contrast in dark mode (3.93:1)". axe flagged the overlay on the dark-mode admin example.

Changes (0.15.7)

  • Tab-order badges: white 10px digits on #0b8f8f were 3.93:1. The fill is now #0a7a7a (5.15:1). The positive-tabindex badge #e8710a (3.09:1) is now #b45309 (5.02:1). The connector lines keep their teal.
  • Finding labels (found in review): white 11px text on the impact colour failed for serious 3.09, moderate 2.42, minor 4.11 and none 3.45. Labels now use same-hue fills #b45309, #8a6d00, #2563c4 and #666666 (critical keeps #d32029), all at least 4.9:1. Box outlines keep the impact colours.
  • New specs check at least 4.5:1 for both badge kinds and every impact. They fail on the old colours (3 + 4).
  • CHANGELOG 0.15.7.

Tests 314/314, build OK. Subagent pre-review: the label fix came from it. The other overlay pairs (Focus preview card, pill) pass.

🤖 Generated with Claude Code

DuncanFaulkner and others added 2 commits October 3, 2026 19:07
White 10px digits sat on #0b8f8f at 3.93:1; axe flagged them on a
dark-mode page (admin example). The warning badge (#e8710a) was 3.09:1.
Fills are now #0a7a7a (5.15:1) and #b45309 (5.02:1); the connector
lines keep the brighter teal. New specs assert >= 4.5:1 for both and
fail on the old colours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
White 11px label text sat on the impact colour: serious 3.09, moderate
2.42, minor 4.11, none 3.45. Labels get their own fills in the same hue
(#b45309, #8a6d00, #2563c4, #666666; critical keeps #d32029), all
>= 4.9:1; box outlines keep the impact colours. Specs cover every impact
(4 fail on the old fills). Connector comment no longer claims a ratio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DuncanFaulkner
DuncanFaulkner merged commit 46c4331 into main Oct 3, 2026
1 check passed
@DuncanFaulkner
DuncanFaulkner deleted the fix/tab-order-badge-contrast branch October 3, 2026 18:15
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