InlineAIPrompt

The InlineAIPrompt component is a popup-based component, designed to facilitate interaction with AI models directly inline, without disrupting the user's workflow.

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, Chip and FloatingActionButton.

TextArea Component

TextArea Adornments

SelectorAttributeUsage
.k-textarea-prefix>.k-buttonrole=button or nodeName=buttonThe buttons must have appropriate role.
aria-label or titleThe buttons must be properly labelled.
.k-textarea-suffix>.k-buttonrole=button or nodeName=buttonThe buttons must have appropriate role.
aria-label or titleThe buttons must be properly labelled.
.k-textarea-suffix>.k-prompt-send.k-disabledaria-disabled=trueAnnounces send action as disabled if necessary.

Suggestion Component

The 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-suggestion-grouprole=groupIndicates that the suggestion container element is a group.
.k-prompt-expander .k-suggestionrole=buttonIndicates that the suggestion element is a button.
aria-label or titleThe suggestion elements must be properly labelled.
tabindex=0The suggestion element should be focusable.

Button Component

Adaptive Mode

When the AI Prompt component is in adaptive mode, the popup element follows the specifications of the ActionSheet component.

Toolbar Component

Card List Container

Card Component

Chip Component

ChipList Component

ContextMenu Component

FloatingActionButton Component

SpeechToTextButton Component

More Actions View - PanelBar Component

Keyboard Shortcuts

This section lists the keyboard shortcuts supported by the AI Prompt composite component.

ShortcutBehavior
EscapeIf generating, stops the generation process.

Prompt Suggestion Component

The expand header button and the suggestion group elements are included in the tab sequence.

ShortcutBehavior
Enter/SpaceTriggers a click action.

Button Component

Toolbar Component

Card List Container

Card Component

FloatingActionButton Component

Chip Component

ChipList Component

ContextMenu Component

SpeechToTextButton Component

More Actions View - PanelBar Component

Keyboard Shortcuts applicable to the Inline AI Prompt

ShortcutBehavior
EscapeIf generating, stops the generation process. If not - closes the Inline AI Prompt popup.

Keyboard Shortcuts applicable to the Inline AI Prompt k-input-inner element

ShortcutBehavior
EnterSends the message.
Shift + EnterStart a new line in the textarea message box.

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