Chat

The Chat component allows end users to communicate and exchange multimedia with other users or chatbots.

Accessibility Support

Out of the box, the Telerik and Kendo UI Chat provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The Chat 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.

SelectorAttributeUsage
.k-message-listrole=logThe role of the Chat message list must imply that there is a log (list) of messages.
aria-labelAnnounces the purpose of the Chat message list (for ex. 'Message list').
.k-quick-replyrole=buttonThe quick reply elements must be exposed as buttons.
tabindex=0The quick reply elements must be part of the page tabsequence.
.k-message-box>.k-input-innerrole=textbox or nodeName=inputThe message must have an input or an element with role=textbox.
label for or aria-label or aria-labelledbyThe message box input must have a label.
.k-input-suffix>.k-buttonrole=button or nodeName=buttonThe buttons must have appropriate role.
aria-label or titleThe buttons must be properly labelled.
.k-button-togglearia-controls=.k-toolbar-box idThe ToolBar toggle button must have an aria-controls attribute pointing to the ToolBar element.
.k-toolbar-boxrole=toolbarThe Chat ToolBar must have an appropriate role.

Chat ToolBar follows the specification for the the ToolBar component.

Managing the Focus

Focusable elements in the Chat are part of the page tabsequence. Those are:

  • k-quick-reply (if any);
  • k-message-box input;
  • all k-input-suffix button elements;
  • k-toolbar-box (if present) - it implements the KB navigation for a ToolBar component

Keyboard Shortcuts applicable to the k-message-box input

ShortcutBehavior
F10Opens and focuses the Chat ToolBar (if present).

Keyboard Shortcuts applicable to the k-quick-reply and k-input-suffix button elements

ShortcutBehavior
Enter/SpaceTriggers a click action on the button.

Testing

The Chat has been extensively tested automatically with axe-core and manually with the most popular screen readers.

Screen Readers

The Chat has been tested with the following screen readers and browsers combinations:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS

Resources