UNPKG

@progress/wct-a11y-spec

Version:

Contains accessibility and keyboard navigation specification of Telerik and Kendo web components.

143 lines 4.96 kB
[ { "h2": "Accessibility Support" }, { "p": "Out of the box, the Telerik and Kendo UI Editor provides extensive accessibility support and enables users with disabilities to acquire complete control over its features." }, { "p": "The Editor is compliant with the [Web Content Accessibility Guidelines (WCAG) 2.2 standards](https://www.w3.org/TR/WCAG22/) and [Section 508](http://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](#keyboard-navigation) for its `component` role, provides options for [managing its focus](#managing-the-focus) and is tested against the most popular [screen readers](#screen-readers)." }, { "h3": "WAI-ARIA" }, { "p": "This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any." }, { "table": { "headers": [ "Selector", "Attribute", "Usage" ], "rows": [ { "Selector": "`div[contenteditable='true']`", "Attribute": "`role=textbox`", "Usage": "Specifies the role of the component as text input." }, { "Selector": "", "Attribute": "`label for` or `aria-label` or `aria-labelledby`", "Usage": "The component focusable element needs an accessible name to be assigned to it." }, { "Selector": "`.k-editor.k-readonly div[contenteditable=false]`", "Attribute": "`aria-readonly=true`", "Usage": "Attribute is rendered only when the Editor is readonly." } ] } }, { "h3": "Managing the Focus" }, { "p": "The editor integrates the **Toolbar** component and inherits all shortcuts from it. So, the component has two tab stops - one the toolbar and one the content area. When using the single click tools by mouse, the focus remains on the content." }, { "h4": "Actions applied to Editor content area:" }, { "table": { "headers": [ "Shortcut", "Behavior" ], "rows": [ { "Shortcut": "`Ctrl/Cmd(Mac)+B`", "Behavior": "Executes bold command." }, { "Shortcut": "`Ctrl/Cmd(Mac)+I`", "Behavior": "Executes italic command." }, { "Shortcut": "`Ctrl/Cmd(Mac)+U`", "Behavior": "Executes underline command." }, { "Shortcut": "`Ctrl/Cmd(Mac)+Z`", "Behavior": "Executes undo command." }, { "Shortcut": "`Ctrl/Cmd(Mac)+Y`", "Behavior": "Executes redo command." }, { "Shortcut": "`Shift+Enter`", "Behavior": "Adds `<br/>` to content." }, { "Shortcut": "`Enter`", "Behavior": "Adds `<p>` to content." } ] } }, { "h3": "Testing" }, { "p": "The Editor has been extensively tested automatically with [axe-core](https://github.com/dequelabs/axe-core) and manually with the most popular screen readers." }, { "h3": "Screen Readers" }, { "p": "The Editor has been tested with the following screen readers and browsers combinations:" }, { "table": { "headers": [ "Environment", "Tool" ], "rows": [ [ "Firefox", "NVDA" ], [ "Chrome", "JAWS" ], [ "Microsoft Edge", "JAWS" ] ] } }, { "h3": "Resources" }, { "ul": [ { "link": { "source": "https://www.w3.org/TR/wai-aria-1.2/#textbox", "title": "WAI-ARIA specification for textbox" } }, { "link": { "source": "https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/examples/toolbar/", "title": "ARIA Authoring Practices: Toolbar" } } ] } ]