You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Accessibility in Blazor Stock Chart Component | Syncfusion
4
-
description: Checkout and learn here all about Accessibility using Keyboard navigation in Syncfusion Blazor Stock Chart component and more.
4
+
description: Check out and learn here all about Accessibility using Keyboard navigation in Syncfusion Blazor Stock Chart component and more.
5
5
platform: Blazor
6
6
control: Stock Chart
7
7
documentation: ug
8
8
---
9
9
10
10
# Accessibility in Blazor Stock Chart Component
11
11
12
-
The Blazor Stock Chart component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility.
12
+
The Blazor Stock Chart component follows accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility.
13
13
14
14
The accessibility compliance for the Blazor Stock Chart component is outlined below.
15
15
@@ -30,16 +30,16 @@ The accessibility compliance for the Blazor Stock Chart component is outlined be
30
30
margin: 0.5em0;
31
31
}
32
32
</style>
33
+
33
34
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/full.png"alt="Yes"> - All features of the component meet the requirement.</div>
34
35
35
36
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/partial.png"alt="Intermediate"> - Some features of the component do not meet the requirement.</div>
36
37
37
38
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/not-supported.png"alt="No"> - The component does not meet the requirement.</div>
38
39
39
-
40
40
## WAI-ARIA attributes
41
41
42
-
The Blazor Stock Chart component followed the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) patterns to meet the accessibility. The following ARIA attributes are used in the Blazor Stock Chart component:
42
+
The Blazor Stock Chart component follows the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) patterns to meet accessibility requirements. The following ARIA attributes are used in the Blazor Stock Chart component:
43
43
44
44
* img (role)
45
45
* button (role)
@@ -50,27 +50,27 @@ The Blazor Stock Chart component followed the [WAI-ARIA](https://www.w3.org/WAI/
50
50
51
51
## Keyboard interaction
52
52
53
-
The Blazor Stock Chart component followed the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) 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 Stock Chart component.
53
+
The Blazor Stock Chart component follows the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) guideline, enabling effective use with assistive technologies (AT) and full keyboard navigation. The following keyboard shortcuts are supported by the Blazor Stock Chart component.
54
54
55
55
| Windows | Mac | Description |
56
56
| --- | --- | --- |
57
-
| <kbd>Alt + J</kbd> | <kbd>⌥</kbd> + <kbd>J</kbd> | Moves the focus to the Stock Chart element. |
58
-
| <kbd>Tab</kbd> | <kbd>Tab</kbd> | Moves the focus to the next element in the Stock Chart. |
59
-
| <kbd>Shift + Tab</kbd> | <kbd>⇧</kbd> + <kbd>Tab</kbd> | Moves the focus to the previous element in the Stock Chart. |
60
-
| <kbd>↓</kbd> | <kbd>↓</kbd> | Moves the focus to the data point left side from the selected point. |
61
-
| <kbd>↑</kbd> | <kbd>↑</kbd> | Moves the focus to the data point right side from the selected point. |
62
-
| <kbd>↓</kbd> or <kbd>←</kbd> | <kbd>↓</kbd> or <kbd>←</kbd> | Moves the focus to the legend left side from the selected legend. |
63
-
| <kbd>↑</kbd> or <kbd>→</kbd> | <kbd>↑</kbd> or <kbd>→</kbd> | Moves the focus to the legend right side from the selected legend. |
57
+
| <kbd>Alt + J</kbd> | <kbd>⌥</kbd> + <kbd>J</kbd> | Moves focus to the Stock Chart element. |
58
+
| <kbd>Tab</kbd> | <kbd>Tab</kbd> | Moves focus to the next element in the stock chart. |
59
+
| <kbd>Shift + Tab</kbd> | <kbd>⇧</kbd> + <kbd>Tab</kbd> | Moves focus to the previous element in the stock chart. |
60
+
| <kbd>↓</kbd> | <kbd>↓</kbd> | Moves focus to the data point to the left of the selected point. |
61
+
| <kbd>↑</kbd> | <kbd>↑</kbd> | Moves focus to the data point to the right of the selected point. |
62
+
| <kbd>↓</kbd> or <kbd>←</kbd> | <kbd>↓</kbd> or <kbd>←</kbd> | Moves focus to the legend item to the left of the selected legend. |
63
+
| <kbd>↑</kbd> or <kbd>→</kbd> | <kbd>↑</kbd> or <kbd>→</kbd> | Moves focus to the legend item to the right of the selected legend. |
64
64
| <kbd>Enter/Space</kbd> | <kbd>Enter/Space</kbd> | Toggles the visibility of the corresponding series. |
65
-
| <kbd>ESC</kbd> | <kbd>Esc</kbd> |Cancel the tooltip for the data point. |
66
-
| <kbd>Ctrl + P</kbd> | <kbd>⌘</kbd> + <kbd>P</kbd> | Prints the Stock Chart. |
65
+
| <kbd>Esc</kbd> | <kbd>Esc</kbd> |Cancels the tooltip for the data point. |
66
+
| <kbd>Ctrl + P</kbd> | <kbd>⌘</kbd> + <kbd>P</kbd> | Prints the stock chart. |
67
67
68
68
## Ensuring accessibility
69
69
70
-
The Blazor Stock Chart component's accessibility levels are ensured through an [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright) with playwright tests.
70
+
The Blazor Stock Chart component's accessibility levels are validated using [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright) with Playwright tests.
71
71
72
72
The accessibility compliance of the Blazor Stock Chart component is shown in the following sample. Open the [sample](https://blazor.syncfusion.com/accessibility/stock-chart) in a new window to evaluate the accessibility of the Blazor Stock Chart component with accessibility tools.
73
73
74
74
## See also
75
75
76
-
*[Accessibility in Syncfusion<supstyle="font-size:70%">®</sup> Blazor components](https://blazor.syncfusion.com/documentation/common/accessibility)
76
+
*[Accessibility in Syncfusion<supstyle="font-size:70%">®</sup> Blazor components](https://blazor.syncfusion.com/documentation/common/accessibility)
Copy file name to clipboardExpand all lines: blazor/stock-chart/appearance.md
+15-19Lines changed: 15 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
layout: post
3
3
title: Appearance in Blazor Stock Chart Component | Syncfusion
4
-
description: Checkout and learn here all about appearance in Syncfusion Blazor Stock Chart component and much more.
4
+
description: Check out and learn about configuring chart appearance in the Syncfusion Blazor Stock Chart component to refine visual presentation.
5
5
platform: Blazor
6
6
control: Stock Chart
7
7
documentation: ug
@@ -11,7 +11,7 @@ documentation: ug
11
11
12
12
## Stock Chart Title
13
13
14
-
Stock Chart can be given a title using [Title](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.StockChartModel.html#Syncfusion_Blazor_Charts_StockChartModel_Title) property, to show the information about the data plotted.
14
+
Set a chart title using the [Title](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.StockChartModel.html#Syncfusion_Blazor_Charts_StockChartModel_Title) property to provide context for the plotted data.
15
15
16
16
```cshtml
17
17
@@ -28,11 +28,10 @@ Stock Chart can be given a title using [Title](https://help.syncfusion.com/cr/bl
28
28
</SfStockChart>
29
29
30
30
@code {
31
-
32
31
public class ChartData
33
32
{
34
-
public DateTime XValue {get; set;}
35
-
public double YValue {get; set;}
33
+
public DateTime XValue {get; set;}
34
+
public double YValue {get; set;}
36
35
}
37
36
38
37
public List<ChartData> DataSource = new List<ChartData>
@@ -43,11 +42,10 @@ Stock Chart can be given a title using [Title](https://help.syncfusion.com/cr/bl
43
42
new ChartData { XValue = new DateTime(2008, 01, 01), YValue = 38 },
44
43
new ChartData { XValue = new DateTime(2009, 01, 01), YValue = 54 },
45
44
new ChartData { XValue = new DateTime(2010, 01, 01), YValue = 57 },
46
-
new ChartData { XValue = new DateTime(2011, 01, 01), YValue = 70 },
45
+
new ChartData { XValue = new DateTime(2011, 01, 01), YValue = 70 }
47
46
};
48
47
}
49
48
50
-
51
49
```
52
50
53
51

@@ -56,7 +54,7 @@ Stock Chart can be given a title using [Title](https://help.syncfusion.com/cr/bl
56
54
57
55
## Title Customizations
58
56
59
-
The `TextStyle` property of chart title provides options to customize the `Size`, `Color`, `FontFamily`, `FontWeight`, `FontStyle`, `Opacity`, `TextAlignment` and `TextOverflow`.
57
+
The `TextStyle` property of the chart title provides options to customize `Size`, `Color`, `FontFamily`, `FontWeight`, `FontStyle`, `Opacity`, `TextAlignment`, and `TextOverflow`.
60
58
61
59
```cshtml
62
60
@@ -74,11 +72,10 @@ The `TextStyle` property of chart title provides options to customize the `Size`
74
72
</SfStockChart>
75
73
76
74
@code {
77
-
78
75
public class ChartData
79
76
{
80
-
public DateTime XValue {get; set;}
81
-
public double YValue {get; set;}
77
+
public DateTime XValue {get; set;}
78
+
public double YValue {get; set;}
82
79
}
83
80
84
81
public List<ChartData> DataSource = new List<ChartData>
@@ -89,7 +86,7 @@ The `TextStyle` property of chart title provides options to customize the `Size`
89
86
new ChartData { XValue = new DateTime(2008, 01, 01), YValue = 38 },
90
87
new ChartData { XValue = new DateTime(2009, 01, 01), YValue = 54 },
91
88
new ChartData { XValue = new DateTime(2010, 01, 01), YValue = 57 },
92
-
new ChartData { XValue = new DateTime(2011, 01, 01), YValue = 70 },
89
+
new ChartData { XValue = new DateTime(2011, 01, 01), YValue = 70 }
93
90
};
94
91
}
95
92
@@ -99,9 +96,9 @@ The `TextStyle` property of chart title provides options to customize the `Size`
99
96
100
97
## Stock Chart Theme
101
98
102
-
Changing theme will affect background color, gridlines, tooltip colors and appearance.
99
+
Changing the theme affects background color, gridlines, tooltip appearance, and overall styling.
103
100
104
-
Stock chart is shipped with several built-in themes such as `Material`, `Fabric`, `Bootstrap`, `HighContrastLight`, `MaterialDark`, `FabricDark`, `FabricDark`, `HighContrast` and `BootstrapDark`.
101
+
Stock Chart includes several built-in themes such as `Material`, `Fabric`, `Bootstrap`, `HighContrastLight`, `MaterialDark`, `FabricDark`, `HighContrast`, and `BootstrapDark`.
105
102
106
103
```cshtml
107
104
@@ -118,11 +115,10 @@ Stock chart is shipped with several built-in themes such as `Material`, `Fabric`
118
115
</SfStockChart>
119
116
120
117
@code {
121
-
122
118
public class ChartData
123
119
{
124
-
public DateTime XValue {get; set;}
125
-
public double YValue {get; set;}
120
+
public DateTime XValue {get; set;}
121
+
public double YValue {get; set;}
126
122
}
127
123
128
124
public List<ChartData> DataSource = new List<ChartData>
@@ -133,7 +129,7 @@ Stock chart is shipped with several built-in themes such as `Material`, `Fabric`
133
129
new ChartData { XValue = new DateTime(2008, 01, 01), YValue = 38 },
134
130
new ChartData { XValue = new DateTime(2009, 01, 01), YValue = 54 },
135
131
new ChartData { XValue = new DateTime(2010, 01, 01), YValue = 57 },
136
-
new ChartData { XValue = new DateTime(2011, 01, 01), YValue = 70 },
132
+
new ChartData { XValue = new DateTime(2011, 01, 01), YValue = 70 }
137
133
};
138
134
}
139
135
@@ -143,4 +139,4 @@ Stock chart is shipped with several built-in themes such as `Material`, `Fabric`
0 commit comments