chore(ui): clear eslint label-association bucket
- Frontend accessibility cleanup: - add concrete `for` and `id` or `inputId` bindings where labels map to real inputs, selects, and number fields - convert remaining row headers and grouped-control captions from `<label>` to `<span>` where the markup described composite controls rather than a single form element - Lint progress: - clear the remaining `@angular-eslint/template/label-has-associated-control` backlog from 109 issues to 0 - reduce total frontend lint errors from 532 to 423 while keeping the next accessibility buckets isolated - Validation: - `just ui lint`
This commit is contained in:
@@ -28,11 +28,12 @@
|
||||
|
||||
<div class="form-row two-col">
|
||||
<div class="form-field">
|
||||
<label>
|
||||
<label for="library-name">
|
||||
{{ t('nameLabel') }} <span class="required">*</span>
|
||||
</label>
|
||||
<div class="input-container">
|
||||
<input
|
||||
id="library-name"
|
||||
pInputText
|
||||
[(ngModel)]="chosenLibraryName"
|
||||
[placeholder]="t('namePlaceholder')"
|
||||
@@ -45,9 +46,9 @@
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label>
|
||||
<span>
|
||||
{{ t('iconLabel') }}
|
||||
</label>
|
||||
</span>
|
||||
@if (!selectedIcon) {
|
||||
<button class="icon-picker-trigger" (click)="openIconPicker()" type="button">
|
||||
<i class="pi pi-plus"></i>
|
||||
|
||||
Reference in New Issue
Block a user