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

[Line Charts][COLOR CONTRAST]: Some of the lines fall below the required 3:1 contrast ratio for non-text elements #205309

Open
1Copenut opened this issue May 7, 2024 · 3 comments
Labels
Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@1Copenut
Copy link
Contributor

1Copenut commented May 7, 2024

Description

We've received a report that some of the line charts in our sample data series do not meet the non-text contrast ratio of 3:1. I reviewed the sample data set E-commerce and was able to confirm the secondary green and pink lines and legend circles were below 3:1 contrast. Screenshots attached below.

Steps to recreate

  1. Log into a cloud instance of the latest Kibana (8.14.0 at this time)
  2. Enable the sample data series
  3. Pull up the E-commerce dashboard
  4. Review the Transactions per day line chart with a tool like Colour Contrast Analyser

Screenshots or trace logs


Screenshot 2024-05-06 at 7 22 08 PM
Screenshot 2024-05-06 at 7 21 54 PM

Proposed solution

I'd like to hear back from this team how best to tackle this problem. Please respond here or start a conversation in the accessibility channel.

WCAG guidance

@gvnmagni
Copy link

gvnmagni commented May 7, 2024

Question for the visualisation team since I want to be sure this, is that color customised or automatically generated as we do in hierarchy charts? (I am thinking about piecharts with multiple layers)

@markov00
Copy link
Member

hey @1Copenut @gvnmagni these 2 charts use custom colors selected by user. Is not a specific chart issue but the dashboard and the visualization in Kibana need to be reconfigured to respect that contrast. Please transfer the issue in Kibana repo

@mbondyra mbondyra transferred this issue from elastic/elastic-charts Dec 31, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 31, 2024
@mbondyra mbondyra added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Jan 3, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants