Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EuiCallout too low contrast #1156

Closed
timroes opened this issue Aug 30, 2018 · 1 comment
Closed

EuiCallout too low contrast #1156

timroes opened this issue Aug 30, 2018 · 1 comment
Labels
accessibility - WCAG AA Level AA WCAG Accessibility Criteria accessibility bug

Comments

@timroes
Copy link
Contributor

timroes commented Aug 30, 2018

The colors of the EuiCallout component break with WCAG contrast requirements.

  • color=primary
    • Links: #0079a5 on #e6f2f6 (❌ 4.30, requires 4.5)
  • color=success
    • Links: #0079a5 on #e6f2f1 (❌ 4.29, requires 4.5)
  • color=warning
    • Heading: #a9600a on #fcf3e7 (❌ 4.38, requires 4.5)
    • Links: #0079a5 on #fcf3e7 (❌ 4.47, requires 4.5)
  • color=danger
    • Links: #0079a5 on #f6e6e6 (❌ 4.06, requires 4.5)
@timroes timroes added accessibility accessibility - WCAG AA Level AA WCAG Accessibility Criteria bug labels Aug 30, 2018
@snide
Copy link
Contributor

snide commented Aug 30, 2018

Hmm. This is using some of my makeHighContrastColor functions so it should be automatic. I'll need to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility - WCAG AA Level AA WCAG Accessibility Criteria accessibility bug
Projects
None yet
Development

No branches or pull requests

2 participants