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:
+2
-1
@@ -38,8 +38,9 @@
|
||||
<div class="weights-grid">
|
||||
@for (key of orderedKeys; track key) {
|
||||
<div class="weight-field">
|
||||
<label class="field-label">{{ getFieldLabel(key) }}</label>
|
||||
<label class="field-label" [for]="'metadata-weight-' + key">{{ getFieldLabel(key) }}</label>
|
||||
<p-inputNumber
|
||||
[inputId]="'metadata-weight-' + key"
|
||||
size="small"
|
||||
[formControlName]="key"
|
||||
[min]="0"
|
||||
|
||||
Reference in New Issue
Block a user