You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Highcharts offers an accessibility module which we recommend always enabling. If using our [BaseChart](foundations/data-visualization/for-engineers#basechart) implementation, this is taken care of. It provides many useful features that help visually impaired users interact and understand charts. More information on this module can be found on [Highcharts docs](https://www.highcharts.com/docs/accessibility/accessibility-module). Features that are offered are:
61
+
Highcharts offers an accessibility module which we recommend always enabling. If using our [BaseChart](/foundations/data-visualization/for-engineers#basechart) implementation, this is taken care of. It provides many useful features that help visually impaired users interact and understand charts. More information on this module can be found on [Highcharts docs](https://www.highcharts.com/docs/accessibility/accessibility-module). Features that are offered are:
62
62
- Announces chart metadata such as title, subtitle, and description.
63
63
- Allows keyboard navigation of series, points, and legend items.
64
64
- Describes series when focused.
@@ -76,10 +76,21 @@ The accessibility module provides announcements by default for the series and po
76
76
77
77
### Customizing announcements
78
78
79
-
To override the default announcements you can set the `accessibility` attribute in the support options of the [Chart Provider](components/chart-provider/api#charttypeoptions)
79
+
To override the default announcements you can set the `accessibility` attribute in the support options of the [Chart Provider](/components/chart-provider/api#charttypeoptions)
80
80
81
81
The point and series will be passed to the `descriptionFormatter` to retrieve the correct values, such as axis values and series names.
82
82
83
+
Below is an example where we have not overriden the default announcements to understand the base features.
84
+
85
+
<LivePreview
86
+
scope={{ChartProvider, BaseChart}}
87
+
language="jsx"
88
+
noInline
89
+
>
90
+
{SimpleChartAccessibilityDefaultExample}
91
+
</LivePreview>
92
+
93
+
83
94
## Custom example
84
95
85
96
Below is an example of a chart with custom `descriptionFormatter` for the series and point. The title and sub title are both specified but hidden. They will still be included in the screen reader announcements to give context to visually impaired users but not be visible on the chart.
0 commit comments