feat(a11y): explicitly associate label and input elements

This commit is contained in:
Panagiotis Papadopoulos
2024-12-18 00:10:28 +01:00
parent 1a5e2519df
commit 6a044ee848
16 changed files with 72 additions and 72 deletions

View File

@@ -45,8 +45,8 @@ const TPL = `
<h4>${t('bulk_actions.affected_notes')}: <span class="affected-note-count">0</span></h4>
<div class="form-check">
<input class="include-descendants form-check-input" type="checkbox" value="">
<label class="form-check-label">${t('bulk_actions.include_descendants')}</label>
<input id="include-descendants" class="include-descendants form-check-input" type="checkbox" value="">
<label for="include-descendants" class="form-check-label">${t('bulk_actions.include_descendants')}</label>
</div>
<h4>${t('bulk_actions.available_actions')}</h4>