Accessibility Support
Out of the box, the Telerik and Kendo UI TabStrip provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
The TabStrip 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-tabstrip-items | role=tablist | Indicates the tablist role for the ul element of the TabStrip. |
.k-tabstrip.k-tabstrip-left .k-tabstrip-items,.k-tabstrip.k-tabstrip-right .k-tabstrip-items | aria-orientation=vertical | Indicates the orientation of the tablist container element. The attribute is rendered only when the orientation of the component is vertical as the tablist role comes with default horizontal orientation. |
.k-tabstrip-item | role=tab | The tab li element. |
.k-tabstrip .k-item.k-active | aria-selected=true | Announces the selected state of the tab. |
aria-controls=.k-tabstrip-content id | Announces the relation between the panel and active tab. | |
.k-tabstrip-content | role=tabpanel | The content div of the tab. |
aria-hidden=true | Only if the component implements a feature to control whether the content should be persisted. | |
aria-labelledby=.k-tabstrip-item id | Refers to the tab element that controls the panel. | |
.k-tabstrip .k-button | aria-hidden=true | Introduce aria-hidden attribute for the scrollable buttons. The buttons are not included in the tabsequence. Navigating through arrow keys would |
Managing the Focus
Focusable elements in the TabStrip components are:
- Selected Tab
- Tab Content/Panel
The tab items focusing mechanism is roving tabindex. Only the active tab should have tabindex="0"
, the remaining tabs should have tabindex="-1"
.
Keyboard Shortcuts
When end is reached, the first tab is focused. When start is reached, the last tab is focused.
Shortcut | Behavior |
---|---|
Up Arrow & Down Arrow | Vertical Orientation shortcuts. Activates the previous/next tab, or current tab if there is no active tab. |
Left Arrow & Right Arrow | Horizontal Orientation shortcuts. Activates the previous/next tab, or current tab if there is no active tab. |
Tab | Focuses the content for the active navigation item. |
Shift + Tab | Navigates to the previous focusable element on the navigation. |
Enter | Activates the tab item if automatic selection is not enabled. |
Home | Focuses the first item and activates it, if automatic selection is enabled. |
End | Focuses the last item and activates it, if automatic selection is enabled. |
Testing
The TabStrip has been extensively tested automatically with axe-core and manually with the most popular screen readers.
Screen Readers
The TabStrip has been tested with the following screen readers and browsers combinations:
Environment | Tool |
---|---|
Firefox | NVDA |
Chrome | JAWS |
Microsoft Edge | JAWS |