fix: aria warnings for checkboxes

This commit is contained in:
Torsten Dittmann committed 2022-09-15 13:29:48 +02:00
1 parent 6dfb9a22b8
commit 7b18754f46
2 files changed
+3

No files matched your search

@@ -35,6 +35,7 @@
type="checkbox"
class="switch"
role="switch"
aria-checked={value}
bind:this={element}
bind:checked={value}
on:change
@@ -336,6 +336,7 @@
type="checkbox"
class="switch"
role="switch"
aria-checked={encryption}
bind:checked={encryption} />
</div>
<div class="choice-item-content">
@@ -358,6 +359,7 @@
type="checkbox"
class="switch"
role="switch"
aria-checked={antivirus}
bind:checked={antivirus} />
</div>
<div class="choice-item-content">