UNPKG

@progress/wct-a11y-spec

Version:

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

178 lines 7.24 kB
[ { "h2": "Accessibility Support" }, { "p": "Out of the box, the Telerik and Kendo UI OrgChart provides extensive accessibility support and enables users with disabilities to acquire complete control over its features." }, { "p": "The OrgChart 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." }, { "p": "The `OrgChart` component represents a tree structure and allows editing of its items." }, { "table": { "headers": [ "Selector", "Attribute", "Usage" ], "rows": [ { "Selector": "`.k-orgchart-level-1`", "Attribute": "`role=tree`", "Usage": "The root `div` element of the OrgChart. Contains all its top level items." }, { "Selector": "", "Attribute": "`aria-orientation=horizontal`", "Usage": "Specifies the orientation of the OrgChart tree." }, { "Selector": "`.k-orgchart-group:not(.k-orgchart-level-1)`", "Attribute": "`role=group`", "Usage": "The element that wraps child nodes." }, { "Selector": "`.k-orgchart-card`", "Attribute": "`role=treeitem`", "Usage": "The card (node) representing the treeitem in the hierarchical structure." }, { "Selector": "", "Attribute": "`aria-level`", "Usage": "Announces the level of the tree node item. The value of level is number-based(>=1)." }, { "Selector": "", "Attribute": "`aria-keyshortcuts=Enter`", "Usage": "Announces the that the edit menu of the OrgChart can be activated via the Enter key." }, { "Selector": "`.k-orgchart-card[aria-owns]`", "Attribute": "`aria-expanded=true/false`", "Usage": "Present when a node has subitems. Announces the expanded state of the node. It is true when expanded, and false when collapsed." }, { "Selector": "`.k-orgchart-card[aria-expanded]`", "Attribute": "`aria-owns`", "Usage": "Present when a node has subitems. The value of the attribute is the id of the group element containing the current node children" }, { "Selector": "`.k-orgchart-card.k-focus`", "Attribute": "`aria-selected=true`", "Usage": "Announces the selected (focused) item in the OrgChart." }, { "Selector": "`.k-orgchart-card:not(.k-focus)`", "Attribute": "`aria-selected=false`", "Usage": "Announces the not selected (focused) items in the OrgChart." }, { "Selector": "`.k-avatar-image img`", "Attribute": "`alt`", "Usage": "Describes the avatar image of an item. Normally contains the name of the person/function represented by the item." }, { "Selector": "`.k-orgchart-card-menu`", "Attribute": "`role=button`", "Usage": "Specifies the menu icon of the item is a button." }, { "Selector": "", "Attribute": "`aria-label=Edit menu`", "Usage": "Provides an accessible name for the edit button, as it does not contain text." }, { "Selector": "", "Attribute": "`tabindex=-1`", "Usage": "The Edit menu button must not be part of the page tab sequence." }, { "Selector": "`.k-orgchart-button`", "Attribute": "`role=button` or `nodeName=button`", "Usage": "Specifies the expand/collapse element of the OrgChart as a button." }, { "Selector": "", "Attribute": "`aria-label`", "Usage": "Provides an accessible name for the expand/collapse button, as it does not contain text." }, { "Selector": "", "Attribute": "`tabindex=-1`", "Usage": "The expand/collapse button must not be part of the page tab sequence." } ] } }, { "p": "The edit popup of the OrgChart should implement the specification of the Window component with a Form component in it." }, { "link": { "title": "Window accessibility specification", "source": "{{window_a11y_link}}" } }, { "link": { "title": "Form accessibility specification", "source": "{{form_a11y_link}}" } }, { "h3": "Testing" }, { "p": "The OrgChart 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 OrgChart 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/WAI/ARIA/apg/example-index/treeview/treeview-1/treeview-1a.html", "title": "ARIA practices File Directory Treeview Example" } } ] } ]