Skip to content

Commit

Permalink
fix(toggle): set correct ARIA role (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Nov 26, 2019
1 parent 2e61d8d commit dd5f2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/theme/components/toggle/toggle.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ import { convertToBoolProperty, emptyStatusWarning } from '../helpers';
<label class="toggle-label">
<input type="checkbox"
class="native-input visually-hidden"
role="switcher"
role="switch"
[attr.aria-checked]="checked"
[disabled]="disabled"
[checked]="checked"
Expand Down

0 comments on commit dd5f2b6

Please sign in to comment.