google / google-visualization-issues

288 stars 35 forks source link

Option to turn off accessibility table generation #2988

Open jwaga opened 1 year ago

jwaga commented 1 year ago

As discussed at least twice on the Google Visualization API group, here: https://groups.google.com/g/google-visualization-api/c/WTp83sJwLP0/m/8ZmtAdi1APgJ and here: https://groups.google.com/g/google-visualization-api/c/5NiWdATj__g/m/BWexBVDKBQAJ

... it'd be great to have an option to disable accessibility table generation (actually, the whole div with aria-label "A tabular representation of the data in the chart.").

The presence of this invisible table is very heavy when dealing with large number of data points (10k+) and the usability of the feature is debatable - should be left to a client/developer to decide whether it's useful.

dlaliberte commented 1 year ago

I agree. It should not be difficult to add such an option.

jwaga commented 1 year ago

(we need to remember to have this one optional also in controls' charts, like ChartRangeFilter's)