AIPrompt

The AIPrompt component lets users interact with an AI service by writing prompts and executing predefined commands.

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.

SelectorAttributeUsage
.k-prompt-expander .k-buttonaria-controls=.k-prompt-expander-content idPoints to the controlled element based on the given id.
aria-expanded=true/falseIndicates the expanded state of the prompt expander content.
.k-prompt-expander .k-prompt-expander-contentrole=listIndicates that the suggestion container element is a list.
.k-prompt-expander .k-prompt-suggestionrole=listitemIndicates that the suggestion element is a listitem.
tabindex=0/-1The 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.

ShortcutBehavior
TabMoves focus to the next focusable element. If pressed on the expand button, expand content list gets focused.
Shift+TabMoves focus to the next focusable element. If pressed on the expand content list, the expand button gets focused.
Down Arrow & Up ArrowOnly applicable for the expand content list. The arrow keys are used to navigate through the list items.
HomeOnly applicable for the expand content list. Focuses the first item.
EndOnly applicable for the expand content list. Focuses the last item.
EnterSelects 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:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS
Feedback