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