Add labels to improve accessibility (#416)

* Add labels to improve accessibility

* switch to double quotes
This commit is contained in:
ChunkyProgrammer
2021-09-05 17:31:46 -04:00
committed by GitHub
parent 10d2df6d0d
commit 0fd0bb8c83
5 changed files with 56 additions and 55 deletions

View File

@@ -85,11 +85,11 @@
<hr />
<b>{{ $t("actions.loop_this_video") }}:</b>&nbsp;
<input class="uk-checkbox" v-model="selectedAutoLoop" @change="onChange($event)" type="checkbox" />
<label for="chkAutoLoop"><b>{{ $t("actions.loop_this_video") }}:</b></label>&nbsp;
<input id="chkAutoLoop" class="uk-checkbox" v-model="selectedAutoLoop" @change="onChange($event)" type="checkbox" />
<br />
<b>{{ $t("actions.auto_play_next_video") }}:</b>&nbsp;
<input class="uk-checkbox" v-model="selectedAutoPlay" @change="onChange($event)" type="checkbox" />
<label for="chkAutoPlay"><b>{{ $t("actions.auto_play_next_video") }}:</b></label>&nbsp;
<input id="chkAutoPlay" class="uk-checkbox" v-model="selectedAutoPlay" @change="onChange($event)" type="checkbox" />
<hr />