|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: Accessibility in Vue Chat UI component | Syncfusion |
| 4 | +description: Learn here all about Accessibility in Syncfusion Vue Chat UI component of Syncfusion Essential JS 2 and more. |
| 5 | +platform: ej2-vue |
| 6 | +control: Chat UI |
| 7 | +documentation: ug |
| 8 | +domainurl: ##DomainURL## |
| 9 | +--- |
| 10 | + |
| 11 | +# Accessibility in Vue Chat UI component |
| 12 | + |
| 13 | +The Chat UI component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility. |
| 14 | + |
| 15 | +The accessibility compliance for the Chat UI component is outlined below. |
| 16 | + |
| 17 | +| Accessibility Criteria | Compatibility | |
| 18 | +| -- | -- | |
| 19 | +| [WCAG 2.2 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 20 | +| [Section 508 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 21 | +| [Screen Reader Support](../common/accessibility#screen-reader-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 22 | +| [Right-To-Left Support](../common/accessibility#right-to-left-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 23 | +| [Color Contrast](../common/accessibility#color-contrast) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 24 | +| [Mobile Device Support](../common/accessibility#mobile-device-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 25 | +| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 26 | +| [Accessibility Checker Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 27 | +| [Axe-core Accessibility Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> | |
| 28 | + |
| 29 | +<style> |
| 30 | + .post .post-content img { |
| 31 | + display: inline-block; |
| 32 | + margin: 0.5em 0; |
| 33 | + } |
| 34 | +</style> |
| 35 | +<div><img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> - All features of the component meet the requirement.</div> |
| 36 | + |
| 37 | +<div><img src="https://cdn.syncfusion.com/content/images/documentation/partial.png" alt="Intermediate"> - Some features of the component do not meet the requirement.</div> |
| 38 | + |
| 39 | +<div><img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> - The component does not meet the requirement.</div> |
| 40 | + |
| 41 | +## WAI-ARIA attributes |
| 42 | + |
| 43 | +The following ARIA attributes are used in the Chat UI component: |
| 44 | + |
| 45 | +| Attributes | Purpose | |
| 46 | +| ------------ | ----------------------- | |
| 47 | +| `role=button` | Indicates that the element is clickable and triggers an action when activated by the user. | |
| 48 | +| `role=toolbar` | Specifies that the element is a toolbar. | |
| 49 | +| `aria-label` | Defines a string value that labels an interactive element for accessibility. | |
| 50 | +| `aria-orientation` | Specifies the orientation of the toolbar. | |
| 51 | +| `aria-disabled` | Indicates whether the toolbar or element is currently disabled and not interactive. | |
| 52 | +| `aria-multiline` | Indicates that a textbox accepts multiple lines of input or only a single line. | |
| 53 | + |
| 54 | +## Keyboard interaction |
| 55 | + |
| 56 | +The following keyboard shortcuts are supported by the Chat UI component. |
| 57 | + |
| 58 | +| **Press** | **To do this** | |
| 59 | +| --- | --- | |
| 60 | +| <kbd>Enter</kbd> | Select the focused item or send a message when the input is focused. | |
| 61 | +| <kbd>Tab</kbd> | Moves focus forward through the interactive elements. | |
| 62 | +| <kbd>Shift + Tab</kbd> | Moves focus backward through the interactive elements. | |
| 63 | +| <kbd>Page Up</kbd> | Scroll up through chat history. | |
| 64 | +| <kbd>Page Down</kbd> | Scroll down through chat history. | |
| 65 | +| <kbd>Ctrl + Home</kbd> | Scroll to the first message. | |
| 66 | +| <kbd>Ctrl + End</kbd> | Scroll to the most recent message. | |
| 67 | +<b>Chat UI Toolbars</b>|| |
| 68 | +| <kbd>Left Arrow</kbd> | Focuses the previous toolbar element. | |
| 69 | +| <kbd>Right Arrow</kbd> | Focuses the next toolbar element. | |
| 70 | +| <kbd>Enter / Space</kbd> | Select the focused item or activate the selected option. | |
| 71 | +| <kbd>Home</kbd> | Moves focus to the first toolbar element. | |
| 72 | +| <kbd>End</kbd> | Moves focus to the last toolbar element. | |
| 73 | + |
| 74 | +## Ensuring accessibility |
| 75 | + |
| 76 | +The Chat UI component's accessibility levels are ensured through an [accessibility-checker](https://www.npmjs.com/package/accessibility-checker) and [axe-core](https://www.npmjs.com/package/axe-core) software tools during automated testing. |
| 77 | + |
| 78 | +## See also |
| 79 | + |
| 80 | +* [Accessibility in Syncfusion components](../common/accessibility) |
0 commit comments