-
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
Kendo Bot
committed
Oct 21, 2019
1 parent
2c971cb
commit a5cebce
Showing
102 changed files
with
2,106 additions
and
2,322 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
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
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
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
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
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
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
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
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
21 changes: 21 additions & 0 deletions
21
docs/controls/navigation/buttongroup/accessibility/keyboard-navigation.md
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,21 @@ | ||
--- | ||
title: Keyboard Navigation | ||
page_title: jQuery ButtonGroup Documentation | Keyboard Navigation | Kendo UI | ||
description: "Get started with the jQuery ButtonGroup by Kendo UI and learn about the accessibility support it provides through its keyboard navigation functionality." | ||
slug: keynav_buttongroup_jquery | ||
position: 2 | ||
--- | ||
|
||
# Keyboard Navigation | ||
|
||
The keyboard navigation of the ButtonGroup is always available. | ||
|
||
To change the focused Button in the ButtonGroup, use the `Left Arrow` or `Right Arrow` keys. | ||
|
||
For a complete example, refer to the [demo on keyboard navigation of the ButtonGroup](https://demos.telerik.com/kendo-ui/buttongroup/keyboard-navigation). | ||
|
||
## See Also | ||
|
||
* [Keyboard Navigation by the ButtonGroup (Demo)](https://demos.telerik.com/kendo-ui/buttongroup/keyboard-navigation) | ||
* [Keyboard Support in Kendo UI for jQuery]({% slug keyboard_shortcuts_accessibility_support %}) | ||
* [Accessibility in the ButtonGroup]({% slug accessibility_buttongroup_jquery %}) |
40 changes: 40 additions & 0 deletions
40
docs/controls/navigation/buttongroup/accessibility/overview.md
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,40 @@ | ||
--- | ||
title: Overview | ||
page_title: jQuery ButtonGroup Documentation | ButtonGroup Accessibility | Kendo UI | ||
description: "Get started with the jQuery ButtonGroup by Kendo UI and learn about its accessibility support for WAI-ARIA, Section 508, and WCAG 2.1." | ||
slug: accessibility_buttongroup_jquery | ||
position: 1 | ||
--- | ||
|
||
# ButtonGroup Accessibility | ||
|
||
The ButtonGroup is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.1, and keyboard support. | ||
|
||
For more information, refer to: | ||
* [Keyboard navigation by the Kendo UI ButtonGroup]({% slug keynav_buttongroup_jquery %}) | ||
* [Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %}) | ||
|
||
## 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: | ||
|
||
* The ButtonGroup container has a `role=group` attribute that semantically defines the group of the buttons. | ||
* The togglable buttons use the `aria-pressed` attribute and adopt the `role="button"` role. | ||
* Initializing a ButtonGroup from a `ul` element requires you to set a corresponding tab index to the child `li` elements. | ||
|
||
For more information, refer to the article on [WAI-ARIA support in Kendo UI for jQuery]({% slug wai_aria_accessibility_support %}). | ||
|
||
## Section 508 | ||
|
||
The ButtonGroup 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 %}). | ||
|
||
## WCAG 2.1 | ||
|
||
The ButtonGroup 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.1 compliance in Kendo UI for jQuery]({% slug section508_wcag20_accessibility_support %}) | ||
|
||
## See Also | ||
|
||
* [Keyboard Navigation by the ButtonGroup (Demo)](https://demos.telerik.com/kendo-ui/buttongroup/keyboard-navigation) | ||
* [Keyboard Navigation by the ButtonGroup]({% slug keynav_buttongroup_jquery %}) | ||
* [Keyboard Support in Kendo UI for jQuery]({% slug keyboard_shortcuts_accessibility_support %}) | ||
* [Accessibility in Kendo UI for jQuery]({% slug overview_accessibility_support_kendoui %}) |
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,30 @@ | ||
--- | ||
title: Badges | ||
page_title: jQuery ButtonGroup Documentation | Badges | Kendo UI | ||
description: "Get started with the jQuery ButtonGroup by Kendo UI and add badges to its Button instances." | ||
slug: badges_kendoui_buttongroup | ||
position: 5 | ||
--- | ||
|
||
# Badges | ||
|
||
The ButtonGroup provides options for adding badges to its Buttons. | ||
|
||
To add or update a badge, use the `badge` property or the [`badge`](/api/javascript/ui/buttongroup/methods/badge) method. | ||
|
||
<div id="buttongroup"> | ||
</div> | ||
|
||
<script> | ||
$("#buttongroup").kendoButtonGroup({ | ||
items: [ | ||
{ text: "Option1", badge: "8" }, | ||
{ text: "Option2" } | ||
] | ||
}); | ||
</script> | ||
|
||
## See Also | ||
|
||
* [Using Badges in the ButtonGroup (Demo)](https://demos.telerik.com/kendo-ui/buttongroup/badges) | ||
* [JavaScript API Reference of the ButtonGroup](/api/javascript/ui/buttongroup) |
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,39 @@ | ||
--- | ||
title: Disabled ButtonGroup | ||
page_title: jQuery ButtonGroup Documentation | Disabled ButtonGroup | Kendo UI | ||
description: "Get started with the jQuery ButtonGroup by Kendo UI and enable or disable the widget." | ||
slug: disabled_kendoui_buttongroup | ||
position: 2 | ||
--- | ||
|
||
# Disabled ButtonGroup | ||
|
||
The ButtonGroup provides options for setting its enabled and disabled state. | ||
|
||
To configure the ButtonGroup as initially disabled, use its [`enable`](/api/javascript/ui/buttongroup/configuration/enable) property. The ButtonGroup can also be disabled or enabled with JavaScript by using its [`enable`](/api/javascript/ui/buttongroup/methods/enable) method with a Boolean argument. | ||
|
||
The following example demonstrates how to enable and disable the ButtonGroup. | ||
|
||
<ul id="buttongroup"> | ||
<li>Option 1</li> | ||
<li>Option 2</li> | ||
<li>Option 3</li> | ||
</ul> | ||
|
||
<script> | ||
|
||
$(function(){ | ||
var buttongroup = $("#buttongroup").kendoButtonGroup({ | ||
enable: false | ||
}).data("kendoButtonGroup"); | ||
// ... | ||
// Enable the ButtonGroup. | ||
buttongroup.enable(true); | ||
}); | ||
|
||
</script> | ||
|
||
## See Also | ||
|
||
* [Basic Usage of the ButtonGroup (Demo)](https://demos.telerik.com/kendo-ui/buttongroup/index) | ||
* [JavaScript API Reference of the ButtonGroup](/api/javascript/ui/buttongroup) |
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,30 @@ | ||
--- | ||
title: Icon ButtonGroup | ||
page_title: jQuery ButtonGroup Documentation | Icon ButtonGroup | Kendo UI | ||
description: "Get started with the jQuery ButtonGroup by Kendo UI and accommodate an icon and enhance the meaning of its text content." | ||
slug: icon_kendoui_buttongroup | ||
position: 3 | ||
--- | ||
|
||
# Icon ButtonGroup | ||
|
||
The ButtonGroup can accommodate an icon and in this way to enhance the meaning of the text content. | ||
|
||
You can configure the icons by using the `icon` and `imageUrl` properties of the ButtonGroup. To set a particular Button instance, use only one of them. | ||
|
||
<div id="buttongroup"> | ||
</div> | ||
|
||
<script> | ||
$("#buttongroup").kendoButtonGroup({ | ||
items: [ | ||
{ icon: "edit" }, | ||
{ imageUrl: "/images/myEditIcon.gif" } | ||
] | ||
}); | ||
</script> | ||
|
||
## See Also | ||
|
||
* [Using Icons in the ButtonGroup (Demo)](https://demos.telerik.com/kendo-ui/buttongroup/icons) | ||
* [JavaScript API Reference of the ButtonGroup](/api/javascript/ui/buttongroup) |
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,39 @@ | ||
--- | ||
title: Index | ||
page_title: jQuery ButtonGroup Documentation | Index | Kendo UI | ||
description: "Get started with the jQuery ButtonGroup by Kendo UI and configure its initially selected index." | ||
slug: index_kendoui_buttongroup | ||
position: 4 | ||
--- | ||
|
||
# Index | ||
|
||
You can configure the initially selected index of the Kendo UI ButtonGroup by using its [`index`](/api/javascript/ui/buttongroup/configuration/index) property. | ||
|
||
You can also select an index through the [`select`](/api/javascript/ui/buttongroup/methods/select) method with a Integer argument. | ||
|
||
The following example demonstrates how to select a button by its index. | ||
|
||
<ul id="buttongroup"> | ||
<li>Option 1</li> | ||
<li>Option 2</li> | ||
<li>Option 3</li> | ||
</ul> | ||
|
||
<script> | ||
|
||
$(function(){ | ||
var buttongroup = $("#buttongroup").kendoButtonGroup({ | ||
index: 0 | ||
}).data("kendoButtonGroup"); | ||
// ... | ||
// Select a button at index 1. | ||
buttongroup.select(1); | ||
}); | ||
|
||
</script> | ||
|
||
## See Also | ||
|
||
* [Basic Usage of the ButtonGroup (Demo)](https://demos.telerik.com/kendo-ui/buttongroup/index) | ||
* [JavaScript API Reference of the ButtonGroup](/api/javascript/ui/buttongroup) |
Oops, something went wrong.