Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #28317
Closed
Open
Issue created Apr 26, 2019 by Marcel van Remmerden@mvanremmerden🎨Developer

Test coverage percentage

WCAG 1.4.1 Use of Color requirements state:

1.4.1 Use of Color: Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element. (Level A)

Our project badges use different colors to communicate information. In most cases that's perfectly fine, as the color is just there to support and as additional cue.

image

However, there is one case where this might be a bit more problematic. For the test coverage badge, it looks like the percentage determines the color, but there is no hint given anywhere at which percentage the color changes.

Additionally, red is being associated with something failing and aspects that require immediate attention from the user, which does not have to be the case with a low test coverage. Code with test coverage below 10% might work better than code with test coverage above 90%.

image

Assignee
Assign to
Time tracking