Accessibility Support
Out of the box, the Telerik and Kendo UI Card provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
The Card 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.
Card Component
The Card component is a UI container with styles for organized content. It does not have WAI ARIA and keyboard navigation unless used in a Card List.
Selector | Attribute | Usage |
---|---|---|
.k-card-list .k-card | role=listitem | When the card is located in a list, it should accept the listitem role. |
tabindex=0 | The card component is focusable. By enabling navigatable setting in the card component, it is focusable and all inner elements are not until Enter key is pressed. | |
aria-describedby=.k-card-title id | Associate the card to the title element when going through the cards. | |
aria-keyshortcuts=Enter | Announces the bound Enter key for the Card component that will enable the navigation inside the card. |
Managing the Focus
Only when the Card component is located in a CardList, it is focusable. Otherwise, it does not implement any specific WAI-Aria and Keyboard Navigation.
Keyboard Navigation
The Card component has the following shortcuts:
Shortcut | Behavior |
---|---|
Enter | The Enter key enables the keyboard navigation within the Card element. All focusable elements are included in the tab sequence including the content of the card. |
Tab | If Enter has been pressed, moves the focus to the next focusable inner element. When the navigation reaches the last focusable inner element, the Card component becomes focused. If Enter has not been pressed, moves the focus to the next focusable element within the page. |
Shift + Tab | If Enter has been pressed, moves the focus to the previous focusable inner element. When the navigation reaches the first focusable inner element, the Card component becomes focused. |
Escape | The Escape key returns the focus to the Card component. |
Testing
The Card has been extensively tested automatically with axe-core and manually with the most popular screen readers.
Screen Readers
The Card has been tested with the following screen readers and browsers combinations:
Environment | Tool |
---|---|
Firefox | NVDA |
Chrome | JAWS |
Microsoft Edge | JAWS |