Added back in some tabindex that shouldn't have been removed

This commit is contained in:
Dan Brown
2019-10-17 14:21:13 +01:00
parent e48d7d59cc
commit 3959841dbc
2 changed files with 2 additions and 2 deletions

View 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>