-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
title: Keyboard Navigation | ||
page_title: Telerik UI Charts for {{ site.framework }} Documentation - Keyboard Navigation | ||
description: "Get started with the Telerik UI Chart component and learn about the accessibility support it provides through its keyboard navigation functionality." | ||
slug: keynav_aspnetcore_charts | ||
position: 2 | ||
--- | ||
|
||
# Keyboard Navigation | ||
|
||
The Chart comes with keyboard navigation enabled out of the box. The main interactive parts of the Chart are reachable through the keyboard - the Chart area and Legend area. | ||
|
||
For a runnable example, refer to the [demo on using the keyboard navigation of the Charts](https://demos.telerik.com/{{ site.platform }}/charts/keyboard_navigation). | ||
|
||
## Basic Concepts | ||
|
||
Once the element receives focus, there will be two main focusable areas the user can be in - the main chart area and the legend (if one is present). Moving focus between the chart area and legend area is done with the `Tab` and `Shift` & `Tab` keys. Once focus is in one of the two areas, the user can navigate through the items using the arrow keys. | ||
|
||
> The only focusable element of the Chart is the main wrapper element itself. Focusing individual points or legend items is implemented through the `aria-activedescendant` attribute. This works in the same way for both `SVG` and `Canvas` render modes. | ||
## Available Shortcuts | ||
|
||
When the chart area is focused, the following keyboard commands are available: | ||
|
||
| SHORTCUT | DESCRIPTION | ||
|:--- |:--- | ||
| `Right Arrow` | Moves focus to the next point in the series. If focus is on the last point of the series, moves focus to the first point of the next series. | ||
| `Left Arrow` | Moves focus to the previous point in the series. If focus is on the first point of the series, moves focus to the last point of the previous series. | ||
| `Down Arrow` | Moves focus to the next series. | ||
| `Up Arrow` | Moves focus to the previous series. | ||
| `Tab` | Moves the focus to the legend area. If the legend is not visible, or if legend position is `top` or `left`, moves focus to the next focusable element on the page. | ||
| `Shift` & `Tab` | Moves the focus to the previous focusable element on the page. If legend position is `top` or `left`, moves focus to the legend area. | ||
|
||
When the legend area is focused, the following keyboard commands are available: | ||
|
||
| SHORTCUT | DESCRIPTION | ||
|:--- |:--- | ||
| `Right Arrow` | Moves focus to the next legend item. If we're already at the last item, focus cycles to the first item. | ||
| `Left Arrow` | Moves focus to the previous legend item. If we're already at the first item, focus cycles to the last item. | ||
| `Down Arrow` | Moves focus to the next legend item. If we're already at the last item, focus cycles to the first item. | ||
| `Up Arrow` | Moves focus to the previous legend item. If we're already at the first item, focus cycles to the last item. | ||
| `Tab` | Moves the focus to the next focusable element on the page. If the legend position is `top` or `left`, moves focus to the chart area. | ||
| `Shift` & `Tab` | Moves the focus to the chart area. If the legend position is `top` or `left`, moves focus to the previous focusable element on the page. | ||
|
||
## See Also | ||
|
||
* [Keyboard Navigation by the Chart (Demo)](https://demos.telerik.com/{{ site.platform }}/charts/keyboard_navigation) | ||
* [Accessibility in the Chart]({% slug accessibility_aspnetcore_charts %}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: Overview | ||
page_title: Telerik UI Charts for {{ site.framework }} Documentation - Charts Accessibility | ||
description: "Get started with the Telerik UI Chart component for {{ site.framework }} and learn about its accessibility support for WAI-ARIA, Section 508, and WCAG 2.2." | ||
slug: accessibility_aspnetcore_charts | ||
position: 1 | ||
--- | ||
|
||
# Chart Accessibility | ||
|
||
The Chart is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.2, and keyboard support. | ||
|
||
For more information, refer to: | ||
* [Keyboard navigation by the Telerik UI Charts for {{ site.framework }}]({% slug keynav_aspnetcore_charts %}) | ||
* [Accessibility in Telerik UI for {{ site.framework }}]({% slug overview_accessibility %}) | ||
|
||
## WAI-ARIA | ||
|
||
The component follows the WAI-ARIA Authoring Practices for implementing the keyboard navigation for its component role and is tested against the popular screen readers. For more information, refer to the article on [Accessibility Compliance Table in Telerik UI for {{ site.framework }}]({% slug compliance_accessibility %}). | ||
|
||
## Section 508 | ||
|
||
The Chart is compliant with the Section 508 requirements. For more information, refer to the article on [Accessibility Compliance Table in Telerik UI for {{ site.framework }}]({% slug compliance_accessibility %}). | ||
|
||
## WCAG 2.2 | ||
|
||
The Chart supports the standards for providing accessible web content which are set by the [Web Content Accessibility Guidelines 2.1](https://www.w3.org/TR/WCAG/). | ||
|
||
Meeting some of the Success Criteria in WCAG 2.2 may require additional customization: | ||
* ***1.4.3** Contrast (Minimum)* | ||
|
||
The color of chart elements may need to be customized to meet the minimum required contrast level. Some Theme Swatches like the Ocean Blue A11y Accessibility Swatch meet and exceed this criteria. | ||
* ***2.5.8:** Target Size (Minimum)* | ||
|
||
The size of Series Markers and the font size of Legend Items may need to be customized to meet the minimum size of 24x24px required by this criteria. | ||
|
||
|
||
## See Also | ||
|
||
* [WCAG 2.2 Support by the Chart (Demo)](https://demos.telerik.com/{{ site.platform }}/charts/index) | ||
* [Keyboard Navigation by the Chart (Demo)](https://demos.telerik.com/{{ site.platform }}/charts/keyboard_navigation) | ||
* [Keyboard Navigation by the Chart]({% slug keynav_aspnetcore_charts %}) | ||
* [Accessibility in Telerik UI for {{ site.framework }}]({% slug overview_accessibility %}) |