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:
@@ -114,7 +114,7 @@
|
||||
</div>
|
||||
@if (isMobile) {
|
||||
<div class="display-settings-section">
|
||||
<label class="display-settings-label">{{ t('labels.gridColumns') }}</label>
|
||||
<span class="display-settings-label">{{ t('labels.gridColumns') }}</span>
|
||||
<div class="column-options">
|
||||
<button
|
||||
type="button"
|
||||
@@ -135,7 +135,7 @@
|
||||
</div>
|
||||
} @else {
|
||||
<div class="display-settings-section">
|
||||
<label class="display-settings-label">{{ t('labels.gridItemSize') }}</label>
|
||||
<span class="display-settings-label">{{ t('labels.gridItemSize') }}</span>
|
||||
<p-slider
|
||||
[ngModel]="coverScalePreferenceService.scaleFactor()"
|
||||
(ngModelChange)="coverScalePreferenceService.setScale($event)"
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<div class="fields-grid">
|
||||
@for (field of lockableFields; track field) {
|
||||
<div class="field-row">
|
||||
<label class="field-label">{{ fieldLabels[field] || field }}</label>
|
||||
<span class="field-label">{{ fieldLabels[field] || field }}</span>
|
||||
<p-button
|
||||
[outlined]="true"
|
||||
[label]="getLockLabel(field)"
|
||||
|
||||
Reference in New Issue
Block a user