Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #20952
Closed
Open
Issue created Oct 19, 2016 by Administrator@rootContributor

$gray-light color inaccessible on white background

Created by: fvsch

Hi. Currently the $gray-light’s contrast ratio on top of a white background doesn’t meet the WCAG2 minimum for body copy. Current value is:

$gray-light: #818a91 !default;

The contrast ratio for #818a91 on #ffffff is 3.51:1 (tested with http://webaim.org/resources/contrastchecker/), and WCAG 2 (AA) calls for a minimum contrast of 4.5:1 for body copy.

It seems that this color is used to signify:

  • Muted text
  • Disabled elements

For muted text, a darker value such as $gray might be better? For disabled elements, maybe shooting for the highest accessible value would be alright? In my tests, both #767676 and #71777f are just at or above 4.5:1 (on a #ffffff background).

Or, going for a more generic solution, maybe just lowering $gray-light in the #707070 range (e.g. #6a7279, keeping the slightly blue hue)?

Assignee
Assign to
Time tracking