Mark visible toggle switch as hidden from screen readers

This commit is contained in:
Alasdair Smith 2018-04-16 10:07:46 +01:00
parent 0f70d526d9
commit 4a12754d90

View file

@ -32,6 +32,6 @@ define [
>
<label for="toggle-switch-true-{{$id}}" class="toggle-switch-label">{{labelTrue}}</label>
<span class="toggle-switch-selection"></span>
<span class="toggle-switch-selection" aria-hidden="true"></span>
</fieldset>
"""