We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm submitting a ... (check one with "x")
Current behavior: The toggle component uses an aria-role of "switcher".
Expected behavior: The correct role should instead be "switch". See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques for details.
Steps to reproduce:
Related code: See toggle.component.ts
<input type="checkbox" class="native-input visually-hidden" role="switch" [attr.aria-checked]="checked" [disabled]="disabled" [checked]="checked" (change)="updateValue($event)" (blur)="onTouched()" (click)="onInputClick($event)">
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
The toggle component uses an aria-role of "switcher".
Expected behavior:
The correct role should instead be "switch". See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques for details.
Steps to reproduce:
Related code:
See toggle.component.ts
The text was updated successfully, but these errors were encountered: