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:
@@ -15,7 +15,7 @@
|
||||
(click)="widthPanel.toggle($event)"></i>
|
||||
<p-popover #widthPanel appendTo="body">
|
||||
<div class="sidebar-width-popover">
|
||||
<label class="sidebar-width-popover-label">{{ sidebarWidth }}px</label>
|
||||
<span class="sidebar-width-popover-label">{{ sidebarWidth }}px</span>
|
||||
<p-slider
|
||||
[(ngModel)]="sidebarWidth"
|
||||
[min]="175"
|
||||
|
||||
+2
-1
@@ -2,7 +2,7 @@
|
||||
<div class="upload-dialog-content">
|
||||
<div class="upload-section">
|
||||
<div class="file-selector">
|
||||
<label class="file-label">{{ t('chooseFile') }}</label>
|
||||
<label class="file-label" for="upload-dialog-file-input">{{ t('chooseFile') }}</label>
|
||||
<p-button
|
||||
[label]="t('selectImage')"
|
||||
icon="pi pi-upload"
|
||||
@@ -12,6 +12,7 @@
|
||||
</p-button>
|
||||
</div>
|
||||
<input
|
||||
id="upload-dialog-file-input"
|
||||
#fileInput
|
||||
type="file"
|
||||
accept=".jpg,.jpeg,.png,image/jpeg,image/png"
|
||||
|
||||
Reference in New Issue
Block a user