Toggle Switch Button provides built-in compliance with
WAI-ARIA support is achieved through the attributes like
aria-disabled. It helps the people with disabilities by providing information about the widget for assistive technology in the screen readers, such as screen readers.
|role||Indicates the Toggle Switch Button component.|
|aria-checked||Indicates whether the input is checked, unchecked.|
|aria-disabled||Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.|
|Space||When the Toggle Switch Button has focus, pressing the Space key changes the state of the Toggle Switch Button.|