Accessibility in Blazor Sankey Component
18 Nov 20184 minutes to read
The Blazor Sankey component followed the accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles that are commonly used to evaluate accessibility.
The accessibility compliance for the Blazor Sankey component is outlined below.
| Accessibility Criteria | Compatibility |
|---|---|
| WCAG 2.2 Support | ![]() |
| Section 508 Support | ![]() |
| Screen Reader Support | ![]() |
| Right-To-Left Support | ![]() |
| Color Contrast | ![]() |
| Mobile Device Support | ![]() |
| Keyboard Navigation Support | ![]() |
| Axe-core Accessibility Validation | ![]() |
- All features of the component meet the requirement.
- Some features of the component do not meet the requirement.
- The component does not meet the requirement.WAI-ARIA attributes
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.
| Element | Default description |
|---|---|
| Links | Reads the link value. |
| Nodes | Reads the Node value. |
| Legend | Reads the legend value. |
The Blazor Sankey component followed the WAI-ARIA patterns to meet the accessibility. The following ARIA attributes are used in the Blazor Sankey component:
- img (role)
- button (role)
- region (role)
- aria-label (attribute)
- aria-hidden (attribute)
- aria-pressed (attribute)
Keyboard navigation
The Blazor Sankey component followed the keyboard interaction guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Blazor Sankey component.
| Windows | Mac | Description |
|---|---|---|
| Tab | Tab | Moves focus to the next focusable element in the Sankey. |
| ↓ | ↓ | Moves focus to the data point below the selected node. |
| ↑ | ↑ | Moves focus to the data point above the selected node. |
| ← | ← | Moves focus to the data point to the left of the selected node. |
| → | → | Moves focus to the data point to the right of the selected node. |
| Ctrl + P | ⌘ + P | Prints the Sankey. |
Ensuring accessibility
The Blazor Sankey component’s accessibility levels are ensured through an axe-core with playwright tests.
The accessibility compliance of the Blazor Sankey component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Blazor Sankey component with accessibility tools.
