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

@@ -14,8 +14,8 @@ const TPL = `
</div>
<form class="protected-session-password-form">
<div class="modal-body">
<label class="col-form-label">${t("protected_session_password.form_label")}</label>
<input class="form-control protected-session-password" type="password">
<label for="protected-session-password" class="col-form-label">${t("protected_session_password.form_label")}asbd</label>
<input id="protected-session-password" class="form-control protected-session-password" type="password">
</div>
<div class="modal-footer">
<button class="btn btn-primary">${t("protected_session_password.start_button")}</button>