Accessibility Support
Out of the box, the Telerik and Kendo UI AI Prompt provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
The AI Prompt 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.
AI Prompt
The AI Prompt component is a composite one and integrates the accessibility of the Toolbar, TextArea, Card List container
TextArea Component
Prompt Suggestion Component
The Prompt suggestion list implements roving tabindex navigation. Meaning that only one suggestion has tabindex=0. The display of the suggestion list is controlled by the expand button.
Selector | Attribute | Usage |
---|---|---|
.k-prompt-expander .k-button | aria-controls=.k-prompt-expander-content id | Points to the controlled element based on the given id . |
aria-expanded=true/false | Indicates the expanded state of the prompt expander content. | |
.k-prompt-expander .k-prompt-expander-content | role=list | Indicates that the suggestion container element is a list. |
.k-prompt-expander .k-prompt-suggestion | role=listitem | Indicates that the suggestion element is a listitem. |
tabindex=0/-1 | The element should be focusable. |
Toolbar Component
Card List Container
Card Component
More Actions View - PanelBar Component
Keyboard Shortcuts
This section lists the keyboard shortcuts supported by the AI Prompt composite component.
Prompt Suggestion Component
The expand header button and the suggestion list elements are included in the tab sequence.
Shortcut | Behavior |
---|---|
Tab | Moves focus to the next focusable element. If pressed on the expand button, expand content list gets focused. |
Shift+Tab | Moves focus to the next focusable element. If pressed on the expand content list, the expand button gets focused. |
Down Arrow & Up Arrow | Only applicable for the expand content list. The arrow keys are used to navigate through the list items. |
Home | Only applicable for the expand content list. Focuses the first item. |
End | Only applicable for the expand content list. Focuses the last item. |
Enter | Selects the suggestion. |
Toolbar Component
Card List Container
Card Component
More Actions View - PanelBar Component
Testing
The AI Prompt has been extensively tested automatically with axe-core and manually with the most popular screen readers.
Screen Readers
The AI Prompt has been tested with the following screen readers and browsers combinations:
Environment | Tool |
---|---|
Firefox | NVDA |
Chrome | JAWS |
Microsoft Edge | JAWS |