Improve echo'd status messaging colorblind friendliness

Open
#198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale

Research direction

Start in Makefile lines 229-233, then inspect the status output around lines 249-253 and search for all COLOR_GREEN references. Rename the ANSI color variables, add status-related variables using the requested color scheme, and add icons or ASCII indicators where appropriate. Done means status output is distinguishable without relying on color alone throughout the Makefile.

Written by the indexing model from the issue text.

Description

I'm using too much ANSI 32 green and 33 red together without icons, so colorblind folks can't really tell what's good and bad in Makefile output.

Change the colors variables here:

https://github.com/target/make-python-devex/blob/45abe28c2c2138c446a0e7b5b1fecfe9552dd357/Makefile#L229-L233

to be named something like ANSI_COLOR_GREEN

and create status-related variables like

STATUS_GOOD = $(ANSI_COLOR_BLUE)

and set these STATUS_GOOD, STATUS_BAD, etc. to follow the blue/yellow/red color scheme everywhere but the US uses.

Lastly, change all the $(COLOR_GREEN) refs to $(STATUS_GOOD), etc.

E.g. in

https://github.com/target/make-python-devex/blob/45abe28c2c2138c446a0e7b5b1fecfe9552dd357/Makefile#L249-L253

Consider also injecting an emoji or at least ASCII indicators of status, e.g. ✅ or ❌ or just or so there's both an icon in the indicator as well as color.

Dominant language
Makefile
Stars
31
Forks
6
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 target/make-python-devex

All issues in target/make-python-devex

Similar issues

More Accessibility issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.