UNPKG

@progress/wct-a11y-spec

Version:

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

72 lines (36 loc) 2.9 kB
Out of the box, the {{ site.product }} PropertyGrid provides extensive accessibility support and enables users with disabilities to acquire complete control over its features. The PropertyGrid 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](#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. The PropertyGrid is a composite component that consists of two logically separated structural elements: - Toolbar (`role=toolbar`); - Tree Grid (`role=treegrid`); ### PropertyGrid Toolbar The Toolbar of the PropertyGrid follows the specification of the ToolBar component. [ToolBar accessibility specification]({{toolbar_a11y_link}}) | Selector | Attribute | Usage | | -------- | --------- | ----- | | `.k-grid-toolbar` | `role=toolbar` | The toolbar is a collection of command buttons and inputs. | | | `aria-label` | Clarifies the purpose of the toolbar. | | | `aria-controls=.k-grid-aria-root id` | Points to the id of the element with `role=treegrid`. | ### Tree Grid The element with `role=treegrid` must not include the ToolBar element as it does not belong to the `role=treegrid` element itself. It implements the ARIA specification for the TreeList component with some exceptions listed below. [TreeList accessibility specification]({{treelist_a11y_link}}) The below table lists the ARIA requirements for the PropertyGrid which are not present in the TreeList specification: | Selector | Attribute | Usage | | -------- | --------- | ----- | | `.k-property-grid .k-grid-aria-root` | `role=treegrid` | Sets the proper role for the PropertyGrid component. | ## Resources [WAI-ARIA specification for tree grid](https://www.w3.org/TR/wai-aria-1.2/#treegrid) ## Section 508 The PropertyGrid is fully compliant with the [Section 508 requirements](http://www.section508.gov/). ## Testing The PropertyGrid 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 PropertyGrid has been tested with the following screen readers and browsers combinations: | Environment | Tool | | ----------- | ---- | | Firefox | NVDA | | Chrome | JAWS | | Microsoft Edge | JAWS |