]> BookStack Code Mirror - bookstack/blobdiff - resources/views/components/custom-checkbox.blade.php
Update settings.php
[bookstack] / resources / views / components / custom-checkbox.blade.php
index fa3da02e503d6b2d34ec76752260a49b498a2665..2bf4e223201a5e04b8accd48b575f7b887f378c5 100644 (file)
@@ -6,7 +6,7 @@ $label
 --}}
 <label custom-checkbox class="toggle-switch @if($errors->has($name)) text-neg @endif">
     <input type="checkbox" name="{{$name}}" value="{{ $value }}" @if($checked) checked="checked" @endif>
-    <span role="checkbox"
+    <span tabindex="0" role="checkbox"
           aria-checked="{{ $checked ? 'true' : 'false' }}"
           class="custom-checkbox text-primary">@icon('check')</span>
     <span class="label">{{$label}}</span>