UNPKG

@progress/wct-a11y-spec

Version:

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

36 lines (21 loc) 1.54 kB
The Kendo UI for Angular MaskedTextBox component is [WCAG 2.1 AAA](https://www.w3.org/TR/WCAG21/) and [Section 508](http://www.section508.gov/) compliant. The component also follows the [WAI-ARIA best practices](https://www.w3.org/WAI/ARIA/apg/) for implementing the keyboard navigation for its component role, and is tested against the popular screen readers. ## Wai-Aria **`input` Element** | Selector | Attribute | Usage | | -------- | --------- | ----- | | k-input-inner | `role=textbox` or `type=text` | Specifies the role of the component. Not required if `<input type=text`> is used. | | | `label for=` or `aria-label` or `aria-labelledby` | The input needs an accessible name to be assigned to it. | | | `aria-placeholder` | Announces the mask/placeolder for the component. | | | `disabled` or `aria-disabled` | Attribute is rendered only when the maskedtextbox is disabled. | | | `aria-invalid=true` | Attribute is rendered only when the maskedtextbox is in form and announces the valid state of the component. | ## Section 508 The MaskedTextBox is compliant with the [Section 508](http://www.section508.gov/) requirements ## Testing The component has been extensively tested automatically with static code analyzers and manually with the most popular screen readers. > Any Accessibility Issues could be reported in [Telerik Support System](https://www.telerik.com/account/support-center). ### Screen Readers | Environment | Tool | | ----------- | ---- | | Firefox | NVDA | | Chrome | JAWS | | Microsoft Edge | JAWS |