Accessibility in ASP.NET CORE 3D Chart Component
9 Jan 20242 minutes to read
Accessibility is achieved in the 3D chart component through WAI-ARIA standard and keyboard navigation. The 3D chart features can be effectively accessed through assistive technologies such as screen readers.
WAI-ARIA
WAI-ARIA (Accessibility Initiative – Accessible Rich Internet Applications) defines a way to increase the accessibility of web pages, dynamic content, and user interface components developed with AJAX, HTML, JavaScript, and related technologies. ARIA provides additional semantics to describe the role, state, and functionality of web components.
- img (role)
- button (role)
- region (role)
- aria-label (attribute)
- aria-hidden (attribute)
- aria-pressed (attribute)
Keyboard navigation
All the 3D chart actions can be controlled via keyboard keys. The applicable key combinations and their relative functionalities are listed below.
Interaction Keys | Description |
---|---|
Tab | Moves the focus to the next element in the chart. |
Shift + Tab | Moves the focus to the previous element in the chart. |
DownArrow | Moves the focus to the data point left side from the selected point. |
UpArrow | Moves the focus to the data point right side from the selected point. |
Left Arrow | Moves the focus to the next series in the chart. |
Right Arrow | Moves the focus to the previous series in the chart. |
ESC | Cancel the tooltip for the data point. |
Enter/Space | Selects the data point in the series. |
Down/Left Arrow | Moves the focus to the legend left side from the selected legend. |
Up/Right Arrow | Moves the focus to the legend right side from the selected legend. |
Enter/Space | Toggles the visibility of the corresponding series. |
Ctrl + P | Print the chart. |