1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +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

@ -1,8 +1,7 @@
<label toggle-switch="{{$name}}" custom-checkbox class="toggle-switch">
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
<input type="checkbox" @if($value) checked="checked" @endif>
<span tabindex="{{ $tabindex ?? '0' }}"
role="checkbox"
<span role="checkbox"
aria-checked="{{ $value ? 'true' : 'false' }}"
class="custom-checkbox text-primary">@icon('check')</span>
<span class="label">{{ $label }}</span>