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:
@@ -59,10 +59,10 @@
|
||||
</div>
|
||||
|
||||
<div class="font-preview-area">
|
||||
<label class="preview-label">
|
||||
<span class="preview-label">
|
||||
<i class="pi pi-eye"></i>
|
||||
{{ t('preview') }}
|
||||
</label>
|
||||
</span>
|
||||
@if (!fontsLoadedInBrowser) {
|
||||
<div class="font-preview-skeleton">
|
||||
<p-skeleton width="100%" height="1rem" class="mb-3"></p-skeleton>
|
||||
|
||||
+2
-2
@@ -65,10 +65,10 @@
|
||||
|
||||
@if (previewFontFamily) {
|
||||
<div class="preview-section">
|
||||
<label class="preview-label">
|
||||
<span class="preview-label">
|
||||
<i class="pi pi-eye"></i>
|
||||
{{ t('fontPreview') }}
|
||||
</label>
|
||||
</span>
|
||||
<div class="font-preview" [style.font-family]="previewFontFamily">
|
||||
<p class="preview-paragraph">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
|
||||
Reference in New Issue
Block a user