elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.65k stars 8.23k forks source link

(Accessibility) The contrast ratio from text to background is below the threshold - example 3 #154424

Closed morhof closed 1 year ago

morhof commented 1 year ago

WCAG success criterion 1.4.3 - contrast (minimum) - AA

Steps to reproduce

  1. Click on Management
  2. Select Dev Tools

image

Actual Result

Expected Result

Meta Issue n.a.

Kibana Version: 8.3 OS: Microsoft Windows 10 Enterprise (64-bit) Browser: Google Chrome 109.0.5414.75 (64-Bit)

Screen reader: n.a.

Relevant WCAG Criteria: WCAG success criterion 1.4.3 - contrast (minimum) - AA https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html

Relevant ARIA spec: n.a.

elasticmachine commented 1 year ago

Pinging @elastic/kibana-accessibility (Project:Accessibility)

bhavyarm commented 1 year ago

cc @1Copenut - https://github.com/elastic/kibana/issues/154423 is similar issue.

elasticmachine commented 1 year ago

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

ElenaStoeva commented 1 year ago

Hi @morhof, thanks for reporting this a11y issue! We opened https://github.com/elastic/kibana/pull/169697 to fix the low contrast ratio of the text inside the page.

Regarding the tabs, please keep in mind that the tabs in your screenshot are disabled, and this is the default colour of disabled tabs in Kibana as per EUI. When they are enabled, there is no issue with low contrast ratio:

Screenshot 2023-10-24 at 18 17 11

Making the disabled tabs in darker colour might confuse the users that the tabs are active. Also, according to WCAG 2.2, there is no contrast requirement for text in inactive UI components:

Screenshot 2023-10-24 at 18 20 20
RalfO99 commented 1 year ago

Hi @ElenaStoeva , as @morhof is out of office: We'll have a look at your comment / hint on the inactive tabs. Thanks for keeping on to fix the bugs and keeping us in the loop.