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:
+3
-3
@@ -29,7 +29,7 @@
|
||||
</h3>
|
||||
|
||||
<div class="form-field">
|
||||
<label class="field-label">{{ t('username') }}</label>
|
||||
<label class="field-label" for="username">{{ t('username') }}</label>
|
||||
<input
|
||||
disabled
|
||||
id="username"
|
||||
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label class="field-label">{{ t('fullName') }}</label>
|
||||
<label class="field-label" for="fullname">{{ t('fullName') }}</label>
|
||||
<input
|
||||
[disabled]="!isEditing"
|
||||
id="fullname"
|
||||
@@ -53,7 +53,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label class="field-label">{{ t('email') }}</label>
|
||||
<label class="field-label" for="email">{{ t('email') }}</label>
|
||||
<input
|
||||
[disabled]="!isEditing"
|
||||
id="email"
|
||||
|
||||
Reference in New Issue
Block a user