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
Copy file name to clipboardExpand all lines: docs/api/javascript/ui/switch.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,8 @@ If set to `true`, the Switch will render into its read-only state.
58
58
59
59
Defines the text of the `checked` and `unchecked` labels that are displayed within the Switch. All labels support localization.
60
60
61
+
> The `messages` property is applicable only for the `Default` and `Classic` themes. All other themes, by design, do not show `checked` and `unchecked` messages.
62
+
61
63
#### Example
62
64
63
65
<input id="switch" />
@@ -75,6 +77,8 @@ Defines the text of the `checked` and `unchecked` labels that are displayed with
75
77
76
78
The label for the checked state of the Switch.
77
79
80
+
> The `messages` property is applicable only for the `Default` and `Classic` themes. All other themes, by design, do not show `checked` and `unchecked` messages.
81
+
78
82
#### Example
79
83
80
84
<input id="switch" />
@@ -91,6 +95,8 @@ The label for the checked state of the Switch.
91
95
92
96
The label for the unchecked state of the Switch.
93
97
98
+
> The `messages` property is applicable only for the `Default` and `Classic` themes. All other themes, by design, do not show `checked` and `unchecked` messages.
description: "Get started with the jQuery CheckBox by Kendo UI and learn about its accessibility support for WAI-ARIA, Section 508, and WCAG 2.2."
5
+
slug: accessibility_kendoui_checkbox_widget
6
+
position: 1
7
+
---
8
+
9
+
# CheckBox Accessibility
10
+
11
+
The CheckBox is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.2, and keyboard support.
12
+
13
+
For more information, refer to [Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %}).
14
+
15
+
16
+
17
+
18
+
Out of the box, the Kendo UI for jQuery CheckBox provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
19
+
20
+
21
+
The CheckBox is compliant with the [Web Content Accessibility Guidelines (WCAG) 2.2 AA](https://www.w3.org/TR/WCAG22/) standards](https://www.w3.org/TR/WCAG22/) and [Section 508](http://www.section508.gov/) requirements, follows the [Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA)](https://www.w3.org/WAI/ARIA/apg/) best practices for implementing the [keyboard navigation](#keyboard-navigation) for its `component` role, provides options for managing its focus and is tested against the most popular screen readers.
22
+
23
+
## WAI-ARIA
24
+
25
+
26
+
This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any.
27
+
28
+
| Selector | Attribute | Usage |
29
+
| -------- | --------- | ----- |
30
+
|`.k-checkbox`|`role=checkbox` or `type=checkbox`| Announces the `checkbox` role of the element. |
31
+
||`label for` or `aria-label` or `aria-labelledby`| The input requires an accessible name to which it will be assigned. |
32
+
||`aria-checked=true` or `checked=checked`| Announces the checked state of the CheckBox. |
33
+
||`disabled=disabled` or `aria-disabled=true`| The attribute is rendered only when the CheckBox is disabled. |
34
+
|`.k-invalid,.ng-invalid`|`aria-invalid=true`| The attribute is rendered only when the CheckBox is in a `form` HTML element and announces the invalid state of the component. |
The CheckBox is fully compliant with the [Section 508 requirements](http://www.section508.gov/).
44
+
45
+
## Testing
46
+
47
+
48
+
The CheckBox has been extensively tested automatically with [axe-core](https://github.com/dequelabs/axe-core) and manually with the most popular screen readers.
49
+
50
+
> To report any accessibility issues, contact the team through the [Telerik Support System](https://www.telerik.com/account/support-center).
51
+
52
+
### Screen Readers
53
+
54
+
55
+
The CheckBox has been tested with the following screen readers and browsers combinations:
56
+
57
+
| Environment | Tool |
58
+
| ----------- | ---- |
59
+
| Firefox | NVDA |
60
+
| Chrome | JAWS |
61
+
| Microsoft Edge | JAWS |
62
+
63
+
64
+
65
+
### Automated Testing
66
+
67
+
The CheckBox has been tested with [axe-core](https://github.com/dequelabs/axe-core).
68
+
69
+
## See Also
70
+
71
+
*[Keyboard Support in Kendo UI for jQuery]({% slug keyboard_shortcuts_accessibility_support %})
72
+
*[Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %})
description: "Get started with the jQuery Chip by Kendo UI and learn about its accessibility support for WAI-ARIA, Section 508, and WCAG 2.2."
5
+
slug: accessibility_kendoui_chip_widget
6
+
position: 1
7
+
---
8
+
9
+
# Chip Accessibility
10
+
11
+
The Chip is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.2, and keyboard support.
12
+
13
+
For more information, refer to [Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %}).
14
+
15
+
16
+
17
+
18
+
Out of the box, the Kendo UI for jQuery Chip provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
19
+
20
+
21
+
The Chip is compliant with the [Web Content Accessibility Guidelines (WCAG) 2.2 AA](https://www.w3.org/TR/WCAG22/) standards](https://www.w3.org/TR/WCAG22/) and [Section 508](http://www.section508.gov/) requirements, follows the [Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA)](https://www.w3.org/WAI/ARIA/apg/) best practices for implementing the [keyboard navigation](#keyboard-navigation) for its `component` role, provides options for managing its focus and is tested against the most popular screen readers.
22
+
23
+
## WAI-ARIA
24
+
25
+
26
+
This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any.
27
+
28
+
| Selector | Attribute | Usage |
29
+
| -------- | --------- | ----- |
30
+
|`*:not(.k-chip-list) > .k-chip`|`role=button`| Announces that a chip is an optional inner component within the Chip list. |
31
+
|`*:not(.k-chip-list) > .k-chip.k-selected`|`aria-pressed=true`| Announces that the Chip has been selected. |
32
+
|`*:not(.k-chip-list) > .k-chip:not(.k-selected)`|`aria-pressed=false`| Announces that the Chip has not benn selected. |
The Chip is fully compliant with the [Section 508 requirements](http://www.section508.gov/).
42
+
43
+
## Testing
44
+
45
+
46
+
The Chip has been extensively tested automatically with [axe-core](https://github.com/dequelabs/axe-core) and manually with the most popular screen readers.
47
+
48
+
> To report any accessibility issues, contact the team through the [Telerik Support System](https://www.telerik.com/account/support-center).
49
+
50
+
### Screen Readers
51
+
52
+
53
+
The Chip has been tested with the following screen readers and browsers combinations:
54
+
55
+
| Environment | Tool |
56
+
| ----------- | ---- |
57
+
| Firefox | NVDA |
58
+
| Chrome | JAWS |
59
+
| Microsoft Edge | JAWS |
60
+
61
+
62
+
63
+
### Automated Testing
64
+
The Chip has been tested with [axe-core](https://github.com/dequelabs/axe-core).
65
+
### Test Example
66
+
A live test example of the Chip component could be found here: https://demos.telerik.com/kendo-ui/accessibility/chip
67
+
## See Also
68
+
*[Keyboard Support in Kendo UI for jQuery]({% slug keyboard_shortcuts_accessibility_support %})
69
+
*[Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %})
description: "Get started with the jQuery ChipList by Kendo UI and learn about its accessibility support for WAI-ARIA, Section 508, and WCAG 2.2."
5
+
slug: accessibility_kendoui_chiplist_widget
6
+
position: 1
7
+
---
8
+
9
+
# ChipList Accessibility
10
+
11
+
The ChipList is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.2, and keyboard support.
12
+
13
+
For more information, refer to [Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %}).
14
+
15
+
16
+
17
+
18
+
Out of the box, the Kendo UI for jQuery ChipList provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
19
+
20
+
21
+
The ChipList is compliant with the [Web Content Accessibility Guidelines (WCAG) 2.2 AA](https://www.w3.org/TR/WCAG22/) standards](https://www.w3.org/TR/WCAG22/) and [Section 508](http://www.section508.gov/) requirements, follows the [Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA)](https://www.w3.org/WAI/ARIA/apg/) best practices for implementing the [keyboard navigation](#keyboard-navigation) for its `component` role, provides options for managing its focus and is tested against the most popular screen readers.
22
+
23
+
## WAI-ARIA
24
+
25
+
26
+
This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any.
27
+
28
+
| Selector | Attribute | Usage |
29
+
| -------- | --------- | ----- |
30
+
|`.k-chip-list`|`role=listbox`| Announces the list role of the chip list. |
31
+
||`aria-label` or `aria-labelledby`| Adds label to the ChipList element. ListBox element requires an accessible name attached to it. |
32
+
||`aria-orientation=horizontal`| Specifies the horizontal orientation of the chiplist that gives context about the navigation shortcuts. |
33
+
||`aria-multiselectable=true`| Announces the multiple selection ability of the chiplist. Only when the selection mode is set to multiple. |
34
+
|`.k-chip`|`role=option`| Announces the chip is an option inner component of the chip list. |
35
+
|`.k-chip.k-selected`|`aria-selected=true`| Announces the chip is selected. |
36
+
|`.k-chip:not(.k-selected)`|`aria-selected=false`| Announces the chip is not selected. |
37
+
|`.k-chip:has(.k-i-x-circle),.k-chip:has(.k-svg-i-x-circle)`|`aria-keyshortcuts=Enter Delete`| Announces the Delete action along with the default Enter key used for selection/click action. |
38
+
39
+
40
+
When selection is disabled in the ChipList, it should not have its role set to `listbox`. Instead, the attribute should either be omitted, or its value should be set to `none`. In that case the `role` of the Chip elements should remain `button` as per the Chip component specification.
41
+
42
+
## Resources
43
+
44
+
[ARIA practices list pattern](https://www.w3.org/WAI/ARIA/apg/patterns/listbox/)
45
+
46
+
## Section 508
47
+
48
+
49
+
The ChipList is fully compliant with the [Section 508 requirements](http://www.section508.gov/).
50
+
51
+
## Testing
52
+
53
+
54
+
The ChipList has been extensively tested automatically with [axe-core](https://github.com/dequelabs/axe-core) and manually with the most popular screen readers.
55
+
56
+
> To report any accessibility issues, contact the team through the [Telerik Support System](https://www.telerik.com/account/support-center).
57
+
58
+
### Screen Readers
59
+
60
+
61
+
The ChipList has been tested with the following screen readers and browsers combinations:
62
+
63
+
| Environment | Tool |
64
+
| ----------- | ---- |
65
+
| Firefox | NVDA |
66
+
| Chrome | JAWS |
67
+
| Microsoft Edge | JAWS |
68
+
69
+
70
+
71
+
### Automated Testing
72
+
The ChipList has been tested with [axe-core](https://github.com/dequelabs/axe-core).
73
+
### Test Example
74
+
A live test example of the ChipList component could be found here: https://demos.telerik.com/kendo-ui/accessibility/chiplist
75
+
## See Also
76
+
*[Keyboard Support in Kendo UI for jQuery]({% slug keyboard_shortcuts_accessibility_support %})
77
+
*[Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %})
description: "Get started with the jQuery ColorPalette by Kendo UI and learn about its accessibility support for WAI-ARIA, Section 508, and WCAG 2.2."
5
5
slug: accessibility_kendoui_colorpalette_widget
6
6
position: 1
7
7
---
@@ -14,21 +14,68 @@ For more information, refer to:
14
14
*[Keyboard navigation by the Kendo UI ColorPalette]({% slug keynav_colorpalette_jquery %})
15
15
*[Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %})
16
16
17
+
18
+
19
+
20
+
Out of the box, the Kendo UI for jQuery ColorPalette provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
21
+
22
+
23
+
The ColorPalette is compliant with the [Web Content Accessibility Guidelines (WCAG) 2.2 AA](https://www.w3.org/TR/WCAG22/) standards](https://www.w3.org/TR/WCAG22/) and [Section 508](http://www.section508.gov/) requirements, follows the [Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA)](https://www.w3.org/WAI/ARIA/apg/) best practices for implementing the [keyboard navigation](#keyboard-navigation) for its `component` role, provides options for managing its focus and is tested against the most popular screen readers.
24
+
17
25
## WAI-ARIA
18
26
19
-
The widget 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 [WAI-ARIA support in Kendo UI for jQuery]({% slug wai_aria_accessibility_support %}).
27
+
28
+
This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any.
29
+
30
+
| Selector | Attribute | Usage |
31
+
| -------- | --------- | ----- |
32
+
|`.k-colorpalette`|`role=grid`| The focusable wrapper of the component should announce its role as a `grid`. |
33
+
||`aria-label` or `aria-labelledby`| The component needs an accessible name to be assigned to it. Must also include the currently selected value in the component. |
34
+
||`aria-activedescendant=.k-colorpalette-tile.k-focus id`| Points to the focused cell in the table. The focused cell is changed via keyboard navigation. |
35
+
||`tabindex=0`| The element must be focusable. |
36
+
|`.k-colorpalette.k-disabled`|`aria-disabled=true`| Attribute is rendered only when the ColorPalette is disabled. |
37
+
|`.k-colorpalette-table`|`role=none/presentation`| Negates the default role of the element, as it is wrapped within a `role="grid"` element. |
38
+
|`.k-colorpalette-table>tbody>tr`|`role=row`| Required as the semantic role of its parent `<table>` has been removed. |
39
+
|`.k-colorpalette-tile`|`role=gridcell`| Required as the semantic role of its parent `<table>` has been removed. |
40
+
||`aria-label` or `title`| The text representation of the color value for the current cell. |
41
+
|`.k-colorpalette-tile.k-selected`|`aria-selected=true`| Present on the currently selected cell in the component. |
20
42
21
43
## Section 508
22
44
23
-
The ColorPalette is compliant with the Section 508 requirements. For more information, refer to the article on [Section 508 support in Kendo UI for jQuery]({% slug section508_accessibility_support %}).
24
45
25
-
## WCAG 2.2
46
+
The ColorPalette is fully compliant with the [Section 508 requirements](http://www.section508.gov/).
47
+
48
+
## Testing
49
+
50
+
51
+
The ColorPalette has been extensively tested automatically with [axe-core](https://github.com/dequelabs/axe-core) and manually with the most popular screen readers.
26
52
27
-
The ColorPalette 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/). For more information, refer to the article on [WCAG 2.2 compliance in Kendo UI for jQuery]({% slug section508_wcag21_accessibility_support %})
53
+
> To report any accessibility issues, contact the team through the [Telerik Support System](https://www.telerik.com/account/support-center).
54
+
55
+
### Screen Readers
56
+
57
+
58
+
The ColorPalette has been tested with the following screen readers and browsers combinations:
59
+
60
+
| Environment | Tool |
61
+
| ----------- | ---- |
62
+
| Firefox | NVDA |
63
+
| Chrome | JAWS |
64
+
| Microsoft Edge | JAWS |
65
+
66
+
67
+
68
+
### Automated Testing
69
+
70
+
The ColorPalette has been tested with [axe-core](https://github.com/dequelabs/axe-core).
71
+
72
+
### Test Example
73
+
74
+
A live test example of the ColorPalette component could be found here: https://demos.telerik.com/kendo-ui/accessibility/colorpalette
28
75
29
76
## See Also
30
77
31
78
*[Keyboard Navigation by the ColorPalette (Demo)](https://demos.telerik.com/kendo-ui/colorpalette/keyboard-navigation)
32
-
*[Keyboard Navigation by the ColorPalette]({% slug keynav_colorgradient_jquery %})
79
+
*[Keyboard Navigation by the ColorPalette]({% slug keynav_colorpalette_jquery %})
33
80
*[Keyboard Support in Kendo UI for jQuery]({% slug keyboard_shortcuts_accessibility_support %})
34
-
*[Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %})
81
+
*[Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %})
0 commit comments