fix(toggle): add role="switch" to input (#1434)

This commit is contained in:
Bert B 2022-08-10 10:05:54 -04:00 committed by GitHub
commit c95e2bcc80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,7 @@
on:mouseleave
>
<input
role="switch"
type="checkbox"
class:bx--toggle-input="{true}"
class:bx--toggle-input--small="{size === 'sm'}"