UNPKG

@progress/wct-a11y-spec

Version:

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

106 lines 3.97 kB
[ { "h2": "Accessibility Support" }, { "p": "Out of the box, the Telerik and Kendo UI Notification provides extensive accessibility support and enables users with disabilities to acquire complete control over its features." }, { "p": "The Notification 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-notification`", "Attribute": "`role=alert`", "Usage": "Notification element should be marked as an alert." }, { "Selector": "", "Attribute": "`aria-live=polite`", "Usage": "The aria-live value must be set to `polite`, so that it will not obscure other essential information while announced." }, { "Selector": "", "Attribute": "`aria-label` or `aria-labelledby`", "Usage": "The Notification needs an accessible name to be assigned to it. The label holds info about the type of the Notification (error, warning, info, etc.)" }, { "Selector": "", "Attribute": "`aria-describedby=.k-notification-content id`", "Usage": "USed so that the content of the Notification will be announced by the assistive technologies." }, { "Selector": "`.k-i-close,.k-svg-i-close`", "Attribute": "`aria-hidden=true`", "Usage": "The close button of the notification (if any) should not be present in the accessibility tree." } ] } }, { "h3": "Testing" }, { "p": "The Notification 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 Notification 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/#alert", "title": "WAI-ARIA spec: Role Alert" } }, { "link": { "source": "https://www.w3.org/WAI/ARIA/apg/patterns/alert/", "title": "ARIA Practices: Alert" } } ] } ]