Skip to content

Commit

Permalink
Better syntax around colorblind support
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ingraham authored and David Ingraham committed Mar 6, 2024
1 parent 234b26c commit 18c3268
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,23 @@ As the test runner changes over-time, the themes may break unexpectedly. For any
![](images/light-test.png)
![](images/light-runs.png)

### Colorblind
### Colorblind (Red/Green)

The three main types of color blindness are
- Deutan (red/green)
- Protan (red/green)
- Tritan (blue/green and yellow/red)

By replacing green with yellow, now the Cypress test results will show up as
- Yellow (passing)
- Red (failing)
- Blue (skipped)

This color combination addresses those with Deutan and Protan color-blindness.
Those with sensitivity to red/yellow should keep the default Cypress test result colors.

If there is another case that isn't covered please let me know and I will add a theme for it.

![](images/colorblind-test.png)
![](images/colorblind-runs.png)

Expand Down

0 comments on commit 18c3268

Please sign in to comment.