# SegmentedControl WAI-ARIA Support

Out of the box, the Kendo UI for Angular SegmentedControl provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The SegmentedControl 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](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/segmentedcontrol/accessibility/aria-support_segmentedcontrol#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.

| Selector                                 | Attribute            | Usage                                                                                                                                                                                         |
| ---------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `.k-segmented-control`                   | `role=group`         | Sets the proper role for the group of buttons.                                                                                                                                                |
| `.k-segmented-control-thumb`             | `aria-hidden=true`   | Hides the decorative selection indicator from screen readers.                                                                                                                                 |
| `.k-segmented-control-button`            | `aria-pressed`       | Specifies the current state of the segment. Only the selected segment within the group has this attribute set to `true`.                                                                      |
| `.k-segmented-control-button.k-disabled` | `aria-disabled=true` | Indicates that the segment is disabled and cannot be selected. The attribute is rendered only for disabled segments.                                                                          |
| `.k-segmented-control-button`            | `tabindex`           | Implements a roving tabindex. The focused segment has `tabindex=0` and all other segments have `tabindex=-1`. When focus is outside the control, the selected segment has `tabindex=0`.       |
| `.k-segmented-control-button`            | `aria-label`         | Provides the accessible name of a segment that has an icon and a [`title`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#title), but no text. |

## Resources

[WAI-ARIA `button` Role Specification](https://www.w3.org/TR/wai-aria-1.2/#button)

[WAI-ARIA `group` Role Specification](https://www.w3.org/TR/wai-aria-1.2/#group)

## Section 508

The SegmentedControl is fully compliant with the [Section 508 requirements](http://www.section508.gov/).

## Testing

The SegmentedControl 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 SegmentedControl has been tested with the following screen readers and browsers combinations:

| Environment    | Tool |
| -------------- | ---- |
| Firefox        | NVDA |
| Chrome         | JAWS |
| Microsoft Edge | JAWS |

## Keyboard Navigation

For more details on how the SegmentedControl keyboard navigation works, refer to the [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/segmentedcontrol/keyboard-navigation) article.
