Accessibility in Blazor Stock Chart Component

4 Nov 20254 minutes to read

The Blazor Stock Chart component follows 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 Stock Chart component is outlined below.

Accessibility Criteria Compatibility
WCAG 2.2 Support Yes
Section 508 Support Yes
Screen Reader Support Yes
Right-To-Left Support Yes
Color Contrast Yes
Mobile Device Support Yes
Keyboard Navigation Support Yes
Axe-core Accessibility Validation Yes
Yes - All features of the component meet the requirement.
Intermediate - Some features of the component do not meet the requirement.
No - The component does not meet the requirement.

WAI-ARIA attributes

The Blazor Stock Chart component follows the WAI-ARIA patterns to meet accessibility requirements. The following ARIA attributes are used in the Blazor Stock Chart component:

  • img (role)
  • button (role)
  • region (role)
  • aria-label (attribute)
  • aria-hidden (attribute)
  • aria-pressed (attribute)

Keyboard interaction

The Blazor Stock Chart component follows the keyboard interaction guideline, enabling effective use with assistive technologies (AT) and full keyboard navigation. The following keyboard shortcuts are supported by the Blazor Stock Chart component.

Windows Mac Description
Alt + J + J Moves focus to the Stock Chart element.
Tab Tab Moves focus to the next element in the stock chart.
Shift + Tab + Tab Moves focus to the previous element in the stock chart.
Moves focus to the data point to the left of the selected point.
Moves focus to the data point to the right of the selected point.
or or Moves focus to the legend item to the left of the selected legend.
or or Moves focus to the legend item to the right of the selected legend.
Enter/Space Enter/Space Toggles the visibility of the corresponding series.
Esc Esc Cancels the tooltip for the data point.
Ctrl + P + P Prints the stock chart.

Ensuring accessibility

The Blazor Stock Chart component’s accessibility levels are validated using axe-core with Playwright tests.

The accessibility compliance of the Blazor Stock Chart component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Blazor Stock Chart component with accessibility tools.

See also