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

(Accessibility) - Home/Tutorial (probably multiple places) Color Contrast Issue #72315

Closed
barlowm opened this issue Jul 17, 2020 · 2 comments
Closed
Labels
Feature:Add Data Add Data and sample data feature on Home Feature:Home Kibana home application Project:Accessibility REASSIGN from Team:Core UI Deprecated label for old Core UI team WCAG AA

Comments

@barlowm
Copy link
Collaborator

barlowm commented Jul 17, 2020

There are a number of cases of color contrast issues

Steps to reproduce
From the Kibana Home page, in the "Observability" panel, click the "Add APM" button
In Step 2 - Configure the agent section, there is insufficient color contrast

Here is the current screenshot:
Contrast_Bad

The highlighted text has a color contrast of 4.48:1 to the background.
WCAG 2.0 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text.
Not much of a difference but I've been knocked down before because I was off by a small amount like this.
And at the same time I DO have a difficult time distinguishing the highlighted text from the normal text.

This is a result of the folloring class:

.euiCodeBlock .hljs-string, .euiCodeBlock .hljs-subst, .euiCodeBlock .hljs-doctag {
    color: #DD0A73;
}

I would recommend changing the text color from the current value (#DD0A73) to something on the order of #D10A6E which provides a color contrast of: 4.91:1. I would also recommend bolding the text to make it stand out even further

Contrast_Fixed

Kibana Version:
7.8.0

OS:
Windows

Browser:
Chrome

Screen reader: [if relevant]
N/A

Relevant WCAG Criteria:
WCAG Criterion - Level A/AA/AAA
1.4.3 Contrast (Minimum) Level AA

Relevant ARIA spec: [](link to https://www.w3.org/TR/wai-aria-practices/)

@barlowm barlowm added Feature:Add Data Add Data and sample data feature on Home Project:Accessibility Feature:Home Kibana home application WCAG AA labels Jul 17, 2020
@myasonik
Copy link
Contributor

This is fixed in 7.9 through an improvement in EUI!

EUI PR: elastic/eui#3309
EUI being merged in Kibana: #68141

@myasonik myasonik added the REASSIGN from Team:Core UI Deprecated label for old Core UI team label Jul 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core-ui (Team:Core UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Add Data Add Data and sample data feature on Home Feature:Home Kibana home application Project:Accessibility REASSIGN from Team:Core UI Deprecated label for old Core UI team WCAG AA
Projects
None yet
Development

No branches or pull requests

3 participants