You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scroll down to the buttons below the 'Language Client' section
Issue:
The 'Create a Connector' and 'Upload a File' buttons do not have sufficient color contrast between the color of the button and the background. Color is the indicator that it is a button and the contrast ratio must be at least 3:1.
The color of each button – rbg(204, 228, 245) -- and their light blue background – rgb(230, 241, 250) -- have a color contrast of only 1.1:1. To indicate that it is a button, there should be a contrast ratio of at least 3:1 or there should be a border around the button with a contrast ratio of at least 3:1 against the light blue background.
The text was updated successfully, but these errors were encountered:
It looks like sometime around v66 or v67 something changed which caused it to get worse. It looks like we were at 1.09, and we're now at 1.05. (Looks like this was the change)
In either case, we still don't pass contrast requirements.
Short term
We could use primary buttons instead of secondary buttons in callouts. I think that's the only thing we could that actually gets us to a point where we meet these requirements.
We could also look at what happened in 66/67 to see if we could get at least slightly better
Long term - We've been discussing the idea of a high-contrast mode for EUI. Implementing this may be the only way to solve this issue across the board for Kibana. The issue is not just limited to this input, it's for many inputs across the UI.
@JasonStoltz I'm basing this off memory, which may be flawed, but IIRC our buttons use a transparent background. Theoretically, changing them to use a full shade would allow the text contrast functions to calculate better. Right now, I think they're getting mucked up here because its a transparent blue, overlaid on top of another blue, which then screws up the contrast.
Steps to Reproduce:
Create a Search project and go to the Search project homepage (ex: https://my-elasticsearch-project-eca3d1.kb.eu-west-1.aws.qa.elastic.cloud/app/elasticsearch)
Scroll down to the buttons below the 'Language Client' section
Issue:
The 'Create a Connector' and 'Upload a File' buttons do not have sufficient color contrast between the color of the button and the background. Color is the indicator that it is a button and the contrast ratio must be at least 3:1.
The color of each button – rbg(204, 228, 245) -- and their light blue background – rgb(230, 241, 250) -- have a color contrast of only 1.1:1. To indicate that it is a button, there should be a contrast ratio of at least 3:1 or there should be a border around the button with a contrast ratio of at least 3:1 against the light blue background.
The text was updated successfully, but these errors were encountered: