@progress/wct-a11y-spec
Version:
Contains accessibility and keyboard navigation specification of Telerik and Kendo web components.
48 lines (30 loc) • 2.12 kB
Markdown
The Kendo UI for Vue DropDownButton 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.
| Selector | Attribute | Usage |
| -------- | --------- | ----- |
| .k-menu-button | `role=button` or `nodeName=button` | Or omitted if `<button>` DOM element is used. |
| | `aria-label` | The attribute must be present when no text is initially visible on the button. |
| | `aria-expanded=true/false` | Announces the state of the visibility of the popup. |
| | `aria-haspopup=menu` | Indicates the presence of a menu popup. |
| | `aria-controls=.k-menu-group id` | Points to the popup element. Builds relationship between the button and the popup. |
| | `aria-disabled=true` | Rendered only when the button is disabled and the `disabled` attribute could not be used (applicable for `<button>` or `<input type="button">` elements). |
### Popup Menu element
| Selector | Attribute | Usage |
| -------- | --------- | ----- |
| .k-menu-group | `role=menu` | Announces the menu role of the popup. |
| | `aria-labelledby=.k-menu-button id` | Points to Button element. |
| .k-menu-item | `role=menuitem` | Announces the menuitem role of the popup items. |
[](https://www.w3.org/WAI/ARIA/apg/example-index/menu-button/menu-button-links.html)
The DropDownButton is compliant with the [Section 508](http://www.section508.gov/) requirements
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).
| Environment | Tool |
| ----------- | ---- |
| Firefox | NVDA |
| Chrome | JAWS |
| Microsoft Edge | JAWS |