Merge pull request #273 from LD-Reborn/245-bug-user-creation-modal-accessibility-issues

Fixed user creation modal accessibility issues
This commit is contained in:
LD50
2025-11-02 23:56:34 +01:00
committed by GitHub

View File

@@ -456,51 +456,51 @@
<div class="row g-3"> <div class="row g-3">
<h4 class="fw-bold">@T["Personal information"]</h4> <h4 class="fw-bold">@T["Personal information"]</h4>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Title"]</label> <label class="form-label" for="createTitle">@T["Title"]</label>
<input type="text" name="Title" class="form-control" /> <input type="text" name="Title" id="createTitle" class="form-control" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Name"]</label> <label class="form-label" for="createName">@T["Name"]</label>
<input type="text" name="Cn" class="form-control" /> <input type="text" name="Cn" id="createName" class="form-control" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Surname"]</label> <label class="form-label" for="createSurname">@T["Surname"]</label>
<input type="text" name="Sn" class="form-control" /> <input type="text" name="Sn" id="createSurname" class="form-control" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Birth Date"]</label> <label class="form-label" for="createBirthDate">@T["Birth Date"]</label>
<input type="text" name="Description.BirthDate" class="form-control" /> <input type="text" id="createBirthDate" name="Description.BirthDate" class="form-control" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["City"]</label> <label class="form-label" for="createCity">@T["City"]</label>
<input type="text" name="Description.Address.City" class="form-control" /> <input type="text" id="createCity" name="Description.Address.City" class="form-control" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Street"]</label> <label class="form-label" for="createStreet">@T["Street"]</label>
<input type="text" name="Description.Address.Street" class="form-control" /> <input type="text" id="createStreet" name="Description.Address.Street" class="form-control" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Street Nr."]</label> <label class="form-label" for="createStreetNr">@T["Street Nr."]</label>
<input type="text" name="Description.Address.StreetNr" class="form-control" /> <input type="text" id="createStreetNr" name="Description.Address.StreetNr" class="form-control" />
</div> </div>
<hr class="my-3"> <hr class="my-3">
<h4 class="fw-bold">@T["Workplace & account"]</h4> <h4 class="fw-bold">@T["Workplace & account"]</h4>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Workplace"]</label> <label class="form-label" for="createWorkplace">@T["Workplace"]</label>
<select class="form-select" name="Description.Workplace"> <select class="form-select" id="createWorkplace" name="Description.Workplace">
<option value="">@T["Select location"]</option> <option value="">@T["Select location"]</option>
</select> </select>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Groups"]</label> <label class="form-label" for="createGroups">@T["Groups"]</label>
<select id="createGroups" name="Description.Groups" class="form-select" multiple></select> <select id="createGroups" id="createGroups" name="Description.Groups" class="form-select" multiple></select>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Password"]</label> <label class="form-label" for="createPassword">@T["Password"]</label>
<input type="password" name="UserPassword" class="form-control" /> <input type="password" id="createPassword" name="UserPassword" class="form-control" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label class="form-label">@T["Photo"]</label> <label class="form-label" for="createPhotoFile">@T["Photo"]</label>
<input type="file" id="createPhotoFile" accept="image/*" class="form-control" /> <input type="file" id="createPhotoFile" accept="image/*" class="form-control" />
<input type="hidden" id="createJpegPhoto" name="JpegPhoto" /> <input type="hidden" id="createJpegPhoto" name="JpegPhoto" />
<div class="mt-2 text-center"> <div class="mt-2 text-center">