UNPKG

@progress/wct-a11y-spec

Version:

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

136 lines 4.96 kB
[ { "h2": "Accessibility Support" }, { "p": "Out of the box, the Telerik and Kendo UI RadioGroup provides extensive accessibility support and enables users with disabilities to acquire complete control over its features." }, { "p": "The RadioGroup 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": "`.k-radio-list`", "Attribute": "`role=radiogroup`", "Usage": "Announces the `radiogroup` role of the element." }, { "Selector": "`.k-radio-item`", "Attribute": "`role=none`", "Usage": "Due to issues with nested items, forces a no-role state." }, { "Selector": "`.k-radio`", "Attribute": "`readonly` or `aria-readonly`", "Usage": "The attribute is rendered only when the radio button is read-only." }, { "Selector": "", "Attribute": "`aria-invalid=true`", "Usage": "The attribute is rendered only when the radio button is in a `form` HTML element and announces the invalid state of the component." }, { "Selector": "`.k-disabled > .k-radio`", "Attribute": "`disabled` or `aria-disabled`", "Usage": "The attribute is rendered only when the radio button is disabled." } ] } }, { "h3": "Keyboard Navigation" }, { "p": "The group of RadioButtons does not implement any keyboard navigation. Everything is handled through the default browser behavior for radio buttons." }, { "table": { "headers": [ "Shortcut", "Behavior" ], "rows": [ { "Shortcut": "`Up/Left`", "Behavior": "Moves focus to previous button and selects it. If first button is focused, moves focus to the last." }, { "Shortcut": "`Down Arrow` or `Right Arrow`", "Behavior": "Moves the focus to the next button and selects it. If the last button is focused, moves the focus to the first one." } ] } }, { "h3": "Testing" }, { "p": "The RadioGroup 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 RadioGroup 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/#radiogroup", "title": "WAI-ARIA Radio Group Specification" } }, { "link": { "source": "https://www.w3.org/WAI/ARIA/apg/patterns/radiobutton/", "title": "WAI-ARIA Authoring Practices: Radio Group" } }, { "link": { "source": "https://www.w3.org/WAI/ARIA/apg/patterns/radio/", "title": "WAI-ARIA Authoring Practices: Radio Group Pattern" } } ] } ]