mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
fix: accessibility issues with form ids
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
<input
|
<input
|
||||||
v-model="listItem.active"
|
v-model="listItem.active"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
:id="`order-${instruction.key}-checkbox`"
|
:id="`order-${instruction.key}-checkbox-${i}`"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<b>{{ t(`order.${instruction.key}.bold`, [i + 1]) }}</b>
|
<b>{{ t(`order.${instruction.key}.bold`, [i + 1]) }}</b>
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<label class="order-instruction-checkbox">
|
<label class="order-instruction-checkbox">
|
||||||
<input type="checkbox" v-model="instructionObject.active" />
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
v-model="instructionObject.active"
|
||||||
|
:id="`instruction-checkbox-${instructionObject.name}`"
|
||||||
|
/>
|
||||||
<div class="checkmark" :class="{ dark: store.orderDarkMode }"></div>
|
<div class="checkmark" :class="{ dark: store.orderDarkMode }"></div>
|
||||||
<div class="text">{{ instructionObject.name }}</div>
|
<div class="text">{{ instructionObject.name }}</div>
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user