Accessibility Support
Out of the box, the Telerik and Kendo UI ButtonGroup provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
The ButtonGroup is compliant with the Web Content Accessibility Guidelines (WCAG) 2.2 standards and Section 508 requirements, follows the Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) best practices for implementing the keyboard navigation for its component
role, provides options for managing its focus and is tested against the most popular screen readers.
WAI-ARIA
This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any.
Selector | Attribute | Usage |
---|---|---|
.k-button-group:not(.k-split-button) | role=group | Sets the proper role for the group of buttons. |
.k-button-group.k-disabled | aria-disabled=true | The attribute is rendered only when the entire button group is disabled. |
.k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button | aria-pressed | Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true . |
Managing the Focus
All of the buttons in the group are focusable by default, and follow the regular tab order of the page.
Keyboard Navigation
The ButtonGroup supports the following keyboard shortcuts:
Shortcut | Behavior |
---|---|
Tab | Focuses the next button in the group. If the focus is on the last button, focuses the next focusable element on the page. |
Shfit + Tab | Focuses the previous button in the group. If the focus is on the first button, focuses the previous focusable element before the ButtonGorup. |
Enter or Space | Triggers a click action on the button. |
Testing
The ButtonGroup has been extensively tested automatically with axe-core and manually with the most popular screen readers.
Screen Readers
The ButtonGroup has been tested with the following screen readers and browsers combinations:
Environment | Tool |
---|---|
Firefox | NVDA |
Chrome | JAWS |
Microsoft Edge | JAWS |