# AIPrompt Accessibility

Out of the box, the Kendo React 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 AA](https://www.w3.org/TR/WCAG22/) standards and [Section 508](https://www.section508.gov/) requirements, follows the [Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA)](https://www.w3.org/WAI/ARIA/apg/) best practices for implementing the [keyboard navigation](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/ai-prompt/accessibility/wai-aria-support#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

[TextArea accessibility specification]()

### 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

[ToolBar accessibility specification](https://www.telerik.com/kendo-react-ui-develop/components/buttons/toolbar/accessibility/wai-aria-support)

### Card List Container

[CardList accessibility specification]()

### Card Component

[Card accessibility specification]()

### More Actions View - PanelBar Component

[PanelBar accessibility specification]()

## Section 508

The AI Prompt is fully compliant with the [Section 508 requirements](http://www.section508.gov/).

## Testing

The AI Prompt has been extensively tested automatically with [axe-core](https://github.com/dequelabs/axe-core) and manually with the most popular screen readers.

> To report any accessibility issues, contact the team through the [Telerik Support System](https://www.telerik.com/account/support-center).

### 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 |

## Keyboard Navigation

For more details about the AIPrompt component's keyboard navigation, refer to the article on [keyboard navigation in the AIPrompt component](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/ai-prompt/keyboard-navigation).

## See Also

* [Accessibility in KendoReact](https://www.telerik.com/kendo-react-ui-develop/components/accessibility)
* [Accessibility Compliance and Keyboard Support in KendoReact](https://www.telerik.com/kendo-react-ui-develop/components/accessibility/accessibility-compliance)
