Skip to content

Color configurability - for accessibility #301

Description

@robbat2

Feature Suggestion

Please provide more control over the colors assigned to the ScoreSuccessEnum values. Ideally push that to the configuration instead of hard-coding.

Color blind users cannot easily distinguish between the text and the background. See screenshot; the partial background used for the right-most "Total" score is the worst overall.

The image can be live-uploaded to https://pilestone.com/pages/color-blindness-simulator to see how it behaves.

Possible Implementation

  • Make the color values configurable
  • Provide distinct color values for both light-mode & dark-mode browser configurations.
  • Ship better default colors

Context

This will make the scorecard view more visible to users with color blindness.

Screenshot; taken on a dark-mode browser, showing colors for left-to-right:

  • almost-success
  • success
  • failure
  • almost-failure
  • failure
  • partial
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions