mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(toggle): add role="switch"
to input (#1434)
This commit is contained in:
parent
1c573e55b0
commit
c95e2bcc80
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@
|
||||||
on:mouseleave
|
on:mouseleave
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
|
role="switch"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
class:bx--toggle-input="{true}"
|
class:bx--toggle-input="{true}"
|
||||||
class:bx--toggle-input--small="{size === 'sm'}"
|
class:bx--toggle-input--small="{size === 'sm'}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue