1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Removed tabindexes where found to be not required

This commit is contained in:
Dan Brown
2019-10-17 14:19:35 +01:00
parent 5a887e31da
commit e48d7d59cc
7 changed files with 10 additions and 16 deletions

View File

@ -3,12 +3,10 @@ $name
$value
$checked
$label
$tabindex
--}}
<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 tabindex="{{ $tabindex ?? '0' }}"
role="checkbox"
<span role="checkbox"
aria-checked="{{ $checked ? 'true' : 'false' }}"
class="custom-checkbox text-primary">@icon('check')</span>
<span class="label">{{$label}}</span>