swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.29k stars 1.15k forks source link

Accessibility by screen readers feature. #990

Open mansour-ahmed opened 6 years ago

mansour-ahmed commented 6 years ago

I'm submitting a ... (check one with "x")

Current behavior The charts are currently not accessibly using a screen reader. The screen reader reads the legends and the axis values, however it does not pick up the reading values highlighted by keyboard for instance in a bar chart a highlighted bar. The screen reader just highlight that its a group but does not read out the value itself.

See screenshot for more information.

screenshot 2018-09-28 at 14 38 33

Expected behavior It would allow the screen reader to pick the data displayed by the graph.

Reproduction of the problem

  1. navigate to https://swimlane.github.io/ngx-charts/#/ngx-charts/bar-vertical
  2. Switch on the screen reader (for mac os you can use the shortcut cmd+f5)
  3. try to read a value using the screen reader, for instance GDP of Germany.

What is the motivation / use case for changing the behavior? To allow the charts to be accessible by people with limitations/disabilities, WCAG compliance & also allow crawlers to read the graph's data that belongs SEO. Please tell us about your environment: Chrome 69, MacOS (Mojave)

namanpatel6 commented 5 years ago

Is there any update on the issue?

ai-eye commented 2 years ago

No update :( ?

Hypercubed commented 2 years ago

A11y is on our road map.

BillLaNTT commented 2 years ago

Hey, I am working on an a11y WCAG compliance request for the generated SVG to have the attributes: role="img" aria-label="chart" in lieu of the roadmap being implemented, is the best way to do this in the short term to create a custom a chart with those attributes and implement that?

JGuinto-QuantumIT commented 1 year ago

please we also need this feature.

sjdrew commented 11 months ago

Us too.