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 Range Selector Component | Syncfusion
4
-
description: Checkout and learn here all about Accessibility using Keyboard navigationin Syncfusion Blazor Range Selector component and more.
4
+
description: Check out and learn about accessibility, keyboard navigation, and compliance in the Syncfusion Blazor Range Selector component.
5
5
platform: Blazor
6
6
control: Range Selector
7
7
documentation: ug
8
8
---
9
9
10
10
# Accessibility in Blazor Range Selector Component
11
11
12
-
The Blazor Range Selector 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 Range Selector 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/), and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles).
13
13
14
-
The accessibility compliance for the Blazor Range navigator component is outlined below.
14
+
The table below outlines accessibility compliance for the Blazor Range Selector component.
15
15
16
16
| Accessibility Criteria | Compatibility |
17
17
| -- | -- |
@@ -21,7 +21,7 @@ The accessibility compliance for the Blazor Range navigator component is outline
@@ -30,39 +30,40 @@ The accessibility compliance for the Blazor Range navigator component is outline
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
+
## WAI-ARIA Attributes
41
42
42
-
The Blazor Range Selector 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 Range Selector component:
43
+
The component follows [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) patterns for accessibility. The following ARIA attributes are used:
43
44
44
45
* img (role)
45
46
* region (role)
46
47
* aria-label (attribute)
47
48
* aria-hidden (attribute)
48
49
49
-
## Keyboard interaction
50
+
## Keyboard Interaction
50
51
51
-
The Blazor Range Selector 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 Range Selector component.
52
+
The component supports [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction)guidelines, making it accessible for users relying on assistive technologies or keyboard navigation. Supported keyboard shortcuts:
52
53
53
54
| Windows | Mac | Description |
54
55
| --- | --- | --- |
55
-
| <kbd>Alt + J</kbd> | <kbd>⌥</kbd> + <kbd>J</kbd> | Moves the focus to the Range Selector element. |
56
-
| <kbd>Tab</kbd> | <kbd>Tab</kbd> | Moves the focus to the Range Selector element. |
57
-
| <kbd>Shift + Tab</kbd> | <kbd>⇧</kbd> + <kbd>Tab</kbd> | Moves the focus to the previous element in the Range Selector. |
56
+
| <kbd>Alt + J</kbd> | <kbd>⌥</kbd> + <kbd>J</kbd> | Moves focus to the Range Selector element. |
57
+
| <kbd>Tab</kbd> | <kbd>Tab</kbd> | Moves focus to the Range Selector element. |
58
+
| <kbd>Shift + Tab</kbd> | <kbd>⇧</kbd> + <kbd>Tab</kbd> | Moves focus to the previous element in the Range Selector. |
58
59
| <kbd>Ctrl + P</kbd> | <kbd>⌘</kbd> + <kbd>P</kbd> | Prints the Range Selector. |
59
60
60
-
## Ensuring accessibility
61
+
## Ensuring Accessibility
61
62
62
-
The Blazor Range Selector component's accessibility levels are ensured through an [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright) with playwright tests.
63
+
Accessibility is validated using [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright) with Playwright tests.
63
64
64
-
The accessibility compliance of the Blazor Range Selector component is shown in the following sample. Open the [sample](https://blazor.syncfusion.com/accessibility/range-selector) in a new window to evaluate the accessibility of the Blazor Range Selector component with accessibility tools.
65
+
Evaluate accessibility in the Blazor Range Selector component by opening the [sample](https://blazor.syncfusion.com/accessibility/range-selector) in a new window and using accessibility tools.
65
66
66
-
## See also
67
+
## See Also
67
68
68
-
*[Accessibility in Syncfusion<supstyle="font-size:70%">®</sup> Blazor components](https://blazor.syncfusion.com/documentation/common/accessibility)
69
+
*[Accessibility in Syncfusion<supstyle="font-size:70%">®</sup> Blazor components](https://blazor.syncfusion.com/documentation/common/accessibility)
title: Customization in Blazor Range Selector Component | Syncfusion
4
-
description: Checkout and learn here all about customization in Syncfusion Blazor Range Selector component and more.
4
+
description: Check out and learn here all about customization in Syncfusion Blazor Range Selector component and more.
5
5
platform: Blazor
6
6
control: Range Selector
7
7
documentation: ug
@@ -11,7 +11,7 @@ documentation: ug
11
11
12
12
## Navigator Appearance
13
13
14
-
The Range Selector can be customized by using the [RangeNavigatorStyleSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorStyleSettings.html). The[SelectedRegionColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorStyleSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorStyleSettings_SelectedRegionColor)property is used to specify the color for the selected region, whereas the [UnselectedRegionColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorStyleSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorStyleSettings_UnselectedRegionColor) property is used to specify the color for the unselected region.
14
+
Customize the Range Selector using [RangeNavigatorStyleSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorStyleSettings.html). Use[SelectedRegionColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorStyleSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorStyleSettings_SelectedRegionColor) to set the color for the selected region and [UnselectedRegionColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorStyleSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorStyleSettings_UnselectedRegionColor) for the unselected region.
15
15
16
16
```cshtml
17
17
@@ -26,21 +26,23 @@ The Range Selector can be customized by using the [RangeNavigatorStyleSettings](
26
26
</RangeNavigatorSeriesCollection>
27
27
</SfRangeNavigator>
28
28
29
-
@code{
29
+
@code{
30
30
public class StockDetails
31
31
{
32
32
public double Date { get; set; }
33
33
public double Close { get; set; }
34
34
}
35
+
35
36
public List<StockDetails> StockInfo = new List<StockDetails> {
36
-
new StockDetails { Date = 12, Close = 28 },
37
-
new StockDetails { Date = 34, Close = 44 },
38
-
new StockDetails { Date = 45, Close = 48 },
39
-
new StockDetails { Date = 56, Close = 50 },
40
-
new StockDetails { Date = 67, Close = 66 },
41
-
new StockDetails { Date = 78, Close = 78 },
42
-
new StockDetails { Date = 89, Close = 84 },
37
+
new StockDetails { Date = 12, Close = 28 },
38
+
new StockDetails { Date = 34, Close = 44 },
39
+
new StockDetails { Date = 45, Close = 48 },
40
+
new StockDetails { Date = 56, Close = 50 },
41
+
new StockDetails { Date = 67, Close = 66 },
42
+
new StockDetails { Date = 78, Close = 78 },
43
+
new StockDetails { Date = 89, Close = 84 }
43
44
};
45
+
44
46
public int[] Value = new int[] { 45, 78 };
45
47
}
46
48
@@ -50,7 +52,7 @@ The Range Selector can be customized by using the [RangeNavigatorStyleSettings](
50
52
51
53
## Thumb
52
54
53
-
The [RangeNavigatorThumbSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html) allows to customize the border, fill color, size, and type of thumb using the [RangeNavigatorThumbBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbBorder.html), [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Fill), [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Height), [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Width), and [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Type) properties. Thumbs can be of two shapes: **Circle** and **Rectangle**.
55
+
Customize the thumb's border, fill color, size, and type using [RangeNavigatorThumbSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html), [RangeNavigatorThumbBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbBorder.html), [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Fill), [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Height), [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Width), and [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorThumbSettings.html#Syncfusion_Blazor_Charts_RangeNavigatorThumbSettings_Type). Thumbs can be **Circle** or **Rectangle**.
54
56
55
57
```cshtml
56
58
@@ -69,22 +71,21 @@ The [RangeNavigatorThumbSettings](https://help.syncfusion.com/cr/blazor/Syncfusi
69
71
</RangeNavigatorSeriesCollection>
70
72
</SfRangeNavigator>
71
73
72
-
@code{
73
-
74
+
@code {
74
75
public class StockDetails
75
76
{
76
77
public double Date { get; set; }
77
78
public double Close { get; set; }
78
79
}
79
80
80
81
public List<StockDetails> StockInfo = new List<StockDetails> {
81
-
new StockDetails { Date = 12, Close = 28 },
82
-
new StockDetails { Date = 34, Close = 44 },
83
-
new StockDetails { Date = 45, Close = 48 },
84
-
new StockDetails { Date = 56, Close = 50 },
85
-
new StockDetails { Date = 67, Close = 66 },
86
-
new StockDetails { Date = 78, Close = 78 },
87
-
new StockDetails { Date = 89, Close = 84 },
82
+
new StockDetails { Date = 12, Close = 28 },
83
+
new StockDetails { Date = 34, Close = 44 },
84
+
new StockDetails { Date = 45, Close = 48 },
85
+
new StockDetails { Date = 56, Close = 50 },
86
+
new StockDetails { Date = 67, Close = 66 },
87
+
new StockDetails { Date = 78, Close = 78 },
88
+
new StockDetails { Date = 89, Close = 84 }
88
89
};
89
90
90
91
public int[] Value = new int[] { 45, 78 };
@@ -96,7 +97,7 @@ The [RangeNavigatorThumbSettings](https://help.syncfusion.com/cr/blazor/Syncfusi
96
97
97
98
## Border
98
99
99
-
Using the [RangeNavigatorBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorBorder.html), the [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderModel.html#Syncfusion_Blazor_Charts_BorderModel_Width) and the [Color](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderModel.html#Syncfusion_Blazor_Charts_BorderModel_Color)of the Range Selector border can be customized.
100
+
Customize the Range Selector border using [RangeNavigatorBorder](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.RangeNavigatorBorder.html). Set the [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderModel.html#Syncfusion_Blazor_Charts_BorderModel_Width) and [Color](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.BorderModel.html#Syncfusion_Blazor_Charts_BorderModel_Color)properties.
100
101
101
102
```cshtml
102
103
@@ -111,21 +112,23 @@ Using the [RangeNavigatorBorder](https://help.syncfusion.com/cr/blazor/Syncfusio
111
112
</RangeNavigatorSeriesCollection>
112
113
</SfRangeNavigator>
113
114
114
-
@code{
115
+
@code{
115
116
public class StockDetails
116
117
{
117
118
public double Date { get; set; }
118
119
public double Close { get; set; }
119
120
}
121
+
120
122
public List<StockDetails> StockInfo = new List<StockDetails> {
121
-
new StockDetails { Date = 12, Close = 28 },
122
-
new StockDetails { Date = 34, Close = 44 },
123
-
new StockDetails { Date = 45, Close = 48 },
124
-
new StockDetails { Date = 56, Close = 50 },
125
-
new StockDetails { Date = 67, Close = 66 },
126
-
new StockDetails { Date = 78, Close = 78 },
127
-
new StockDetails { Date = 89, Close = 84 },
123
+
new StockDetails { Date = 12, Close = 28 },
124
+
new StockDetails { Date = 34, Close = 44 },
125
+
new StockDetails { Date = 45, Close = 48 },
126
+
new StockDetails { Date = 56, Close = 50 },
127
+
new StockDetails { Date = 67, Close = 66 },
128
+
new StockDetails { Date = 78, Close = 78 },
129
+
new StockDetails { Date = 89, Close = 84 }
128
130
};
131
+
129
132
public int[] Value = new int[] { 45, 78 };
130
133
}
131
134
@@ -135,7 +138,7 @@ Using the [RangeNavigatorBorder](https://help.syncfusion.com/cr/blazor/Syncfusio
135
138
136
139
## Snapping
137
140
138
-
The [AllowSnapping](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfRangeNavigator.html#Syncfusion_Blazor_Charts_SfRangeNavigator_AllowSnapping) property toggles the placement of the slider exactly to the left or right at the nearest interval.
141
+
Enable the [AllowSnapping](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfRangeNavigator.html#Syncfusion_Blazor_Charts_SfRangeNavigator_AllowSnapping) property to snap the slider to the nearest interval.
139
142
140
143
```cshtml
141
144
@@ -149,30 +152,31 @@ The [AllowSnapping](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Char
149
152
</RangeNavigatorSeriesCollection>
150
153
</SfRangeNavigator>
151
154
152
-
@code{
155
+
@code{
153
156
public class StockDetails
154
157
{
155
158
public double Date { get; set; }
156
159
public double Close { get; set; }
157
160
}
158
161
159
162
public List<StockDetails> StockInfo = new List<StockDetails> {
160
-
new StockDetails { Date = 12, Close = 28 },
161
-
new StockDetails { Date = 34, Close = 44 },
162
-
new StockDetails { Date = 45, Close = 48 },
163
-
new StockDetails { Date = 56, Close = 50 },
164
-
new StockDetails { Date = 67, Close = 66 },
165
-
new StockDetails { Date = 78, Close = 78 },
166
-
new StockDetails { Date = 89, Close = 84 },
163
+
new StockDetails { Date = 12, Close = 28 },
164
+
new StockDetails { Date = 34, Close = 44 },
165
+
new StockDetails { Date = 45, Close = 48 },
166
+
new StockDetails { Date = 56, Close = 50 },
167
+
new StockDetails { Date = 67, Close = 66 },
168
+
new StockDetails { Date = 78, Close = 78 },
169
+
new StockDetails { Date = 89, Close = 84 }
167
170
};
171
+
168
172
public int[] Value = new int[] { 45, 78 };
169
173
}
170
174
171
175
```
172
176
173
177
## Animation
174
178
175
-
Animation for the Range Selector is enabled by default. The speed of the animation can be controlled using the [AnimationDuration](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfRangeNavigator.html#Syncfusion_Blazor_Charts_SfRangeNavigator_AnimationDuration) property. The default value of the [AnimationDuration](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfRangeNavigator.html#Syncfusion_Blazor_Charts_SfRangeNavigator_AnimationDuration) property is **500** milliseconds.
179
+
Animation is enabled by default. Control the speed using the [AnimationDuration](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.SfRangeNavigator.html#Syncfusion_Blazor_Charts_SfRangeNavigator_AnimationDuration) property. The default is **500** milliseconds.
176
180
177
181
```cshtml
178
182
@@ -186,27 +190,29 @@ Animation for the Range Selector is enabled by default. The speed of the animati
186
190
</RangeNavigatorSeriesCollection>
187
191
</SfRangeNavigator>
188
192
189
-
@code{
193
+
@code{
190
194
public class StockDetails
191
195
{
192
196
public double Date { get; set; }
193
197
public double Close { get; set; }
194
198
}
199
+
195
200
public List<StockDetails> StockInfo = new List<StockDetails> {
0 commit comments