Accessibility Features
Highcharts includes comprehensive accessibility features to ensure your charts can be understood and navigated by users with disabilities, including those using screen readers, keyboard navigation, and other assistive technologies.Overview
The Accessibility module (fromts/Accessibility/Accessibility.ts:84-96) provides:
- Screen reader support
- Keyboard navigation
- High contrast mode
- Sonification (audio representation)
- WCAG 2.1 compliance features
Setup
The accessibility module is included by default in Highcharts. No additional imports are needed:Screen Reader Support
Basic Configuration
From the accessibility sample (samples/highcharts/accessibility/accessible-bar/demo.js:1-52):
Chart Description
Provide context for screen reader users:Point Descriptions
Add detailed descriptions to individual data points:Series Descriptions
Keyboard Navigation
Enable and Configure
Keyboard Shortcuts
Default keyboard navigation:- Tab: Navigate between chart elements
- Arrow keys: Navigate between data points
- Enter/Space: Activate drilldown or click events
- Esc: Reset zoom or exit drilldown
- Page Up/Down: Navigate between series
High Contrast Mode
Automatic High Contrast Detection
Highcharts automatically detects Windows High Contrast Mode:High Contrast Theme
Apply a pre-built high contrast theme:Announcements for Dynamic Updates
Live Region Announcements
Accessibility Language Options
Customize Screen Reader Text
Linked Descriptions
Link to external descriptions:Components
The accessibility module includes several components (fromts/Accessibility/Accessibility.ts:166-193):
ARIA Attributes
Highcharts automatically adds appropriate ARIA attributes:Testing Accessibility
Screen Reader Testing
Recommended Screen Readers
- Windows: NVDA (free), JAWS
- macOS: VoiceOver (built-in)
- Linux: Orca
- Mobile: TalkBack (Android), VoiceOver (iOS)
Keyboard Testing
- Can you reach all interactive elements with Tab?
- Can you navigate data points with arrow keys?
- Can you activate drilldown with Enter/Space?
- Does Esc reset zoom or exit drilldown?
Compliance
WCAG 2.1 Level AA
Highcharts aims for WCAG 2.1 Level AA compliance:Best Practices
Accessibility Guidelines
- Always provide meaningful chart titles and descriptions
- Use descriptive axis labels
- Ensure sufficient color contrast (4.5:1 minimum)
- Don’t rely solely on color to convey information
- Add point descriptions for complex data
- Test with actual screen readers
- Enable keyboard navigation
- Consider sonification for data trends
- Provide data tables as alternative format