question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Story list violates color contrast

See original GitHub issue

Describe the bug The list of components on the left side of storybook has poor contrast.

To Reproduce Steps to reproduce the behavior: Load any storybook, and expand the left side.

Expected behavior Color contrast should pass WCAG.

Screenshots In this screenshot, look at TunnelVision, TunnelVisionExtended, and TunnelVision.shouldAllowClose image

System:

Additional context The current styles are as follows:

background: rgb(247, 247, 247)
color: rgb(130, 130, 130)
font-size: 13px
font-family: San Francisco

This gives a very weak score of 3.57 image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
igor-dvcommented, Nov 3, 2018

That’s an emotion css framework, and classes are generated dynamically. You just need to find the MenuLink component and fix it there

1reaction
igor-dvcommented, Nov 3, 2018

@Muhammad-Ibrahim that’s great 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Color Contrast of Text in Instagram Stories - Accessibility at GW
Check to see if the background color you're using in an Instagram Story provides enough contrast with white or black text.
Read more >
The “dark yellow problem” in design system color palettes
Tweak your yellow icons to ensure the color contrast against a white background is above 3:1, the color contrast threshold for non-text elements...
Read more >
Storybook-addon-a11y - Accessibility
And here's a sample story file to test the addon: ... subdued text fails, as raised in issue #123. id: 'color-contrast', reviewOnFail: true,...
Read more >
Understanding Success Criterion 1.4.3: Contrast (Minimum)
People with low vision often have difficulty reading text that does not contrast with its background. This can be exacerbated if the person...
Read more >
ADA Compliance: Let's Talk Color Palettes - Briteweb
If you're wondering what ADA compliance is or how to follow color accessibility guidelines, ... Diagram to show effective color contrast.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found