Fix the colour contrast failures flagged in DESIGN.md

Open Beginner friendly
#256 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
css, json
Domain
design, frontend

Research direction

Read the Accessibility section of DESIGN.md and inspect design/ukulele-tuesday.tokens.json plus the matching rules in static/css/. Start by identifying the event bar color tokens and their uses. Choose darker teal and orange shades that remain distinguishable and meet 3:1 contrast on the event card grey; update the ratio descriptions and list only open items in DESIGN.md. Verify the affected views and run the listed build, hooks, and functional tests.

Written by the indexing model from the issue text.

Description

area:accessibility area:design enhancement needs-triage

Summary

Bring the colour pairs DESIGN.md flags under WCAG AA up to standard, as token changes: orange text links, the teal nav hover and the calendar event bars.

Affected files / area

design/ukulele-tuesday.tokens.json, DESIGN.md (Colors, Accessibility), and the matching rules in static/css/ until the CSS reads the tokens.

Proposed approach

From DESIGN.md's Accessibility section:

  1. Text links are orange on white, 2.08:1. Decided and done in #263: dark text (color.ink.heading) with an orange underline, the style #246 introduced, on every text link.
  2. Desktop nav hover is teal on the green bar, 2.60:1. Decided: white labels that underline on hover, with white header icons. Done in #254.
  3. Event bars: teal 2.51:1 and orange 1.97:1 on the event card grey (needs 3:1 for graphics). Proposal: a darker shade of each, chosen so the three event types stay easy to tell apart.

The invisible input borders are #141; don't duplicate them here. These change how the site looks, so get a human's OK on the colours before the PR.

Acceptance criteria / verification

  • Each pair meets 4.5:1 (text) or 3:1 (graphics), with the ratio in the token's description.
  • DESIGN.md's Accessibility section lists only what's still open.
  • Checked by eye on the homepage, Book Us and the phone menu, at phone and desktop widths.
  • The build, pre-commit hooks and functional tests pass.

Dependencies

After #245. Independent of the CSS variables work, but simpler after it.


Generated by Claude Code

Dominant language
HTML
Stars
0
Forks
0
Avg merge
48m
Merged PRs (30d)
47

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UkuleleTuesday/website

All issues in UkuleleTuesday/website

Similar issues

More Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.