Blazor Switch Accessibility
The Telerik UI for Blazor Switch component is WCAG 2.1 AA and Section 508 compliant. The component also follows the WAI-ARIA best practices for implementing the keyboard navigation for its component role, and is tested against the popular screen readers.
Wai-Aria
Selector | Attribute | Usage |
---|---|---|
.k-switch | role=switch |
Announces the switch role of the element. |
label for or aria-label or aria-labelledby
|
The input needs an accessible name to be assigned to it. | |
aria-checked |
Announces the checked state of the switch. | |
aria-invalid=true |
Attribute is rendered only when the switch is in form and announces the valid state of the component. | |
.k-switch.k-disabled | aria-disabled=true |
Attribute is rendered only when the switch is disabled. |
Resources
WAI-ARIA specification for switch
Section 508
The Switch is compliant with the Section 508 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.
Screen Readers
Environment | Tool |
---|---|
Firefox | NVDA |
Chrome | JAWS |
Microsoft Edge | JAWS |