carbon-design-system / carbon-charts

:bar_chart: :chart_with_upwards_trend:⠀Robust dataviz framework implemented using D3 & typescript
https://charts.carbondesignsystem.com
Apache License 2.0
876 stars 182 forks source link

[Accessibility]: Simple bar chart bars with value 0 do not have aria-label #1839

Open danielannan17 opened 3 weeks ago

danielannan17 commented 3 weeks ago

Application/Team

API Connect

Environment

Browser

What happened? What did you expect to happen instead?

Simple bar chart bars with a value of 0 do not have an aria-label. They should either not be rendered or have an aria-label="0" similar to other bars which have their aria-labels set to their value. Violation

What WCAG 2.1 checkpoint does the issue violate?

1.1.1

Version

@carbon/charts-react@1.16.3

Data & options used

No response

Relevant log output

No response

StackBlitz repro

No response

What priority level would this issue be in your opinion?

P0