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:
@@ -138,8 +138,9 @@
|
||||
|
||||
<div class="form-fields">
|
||||
<div class="form-field">
|
||||
<label>Icon Name</label>
|
||||
<label for="icon-picker-svg-name">Icon Name</label>
|
||||
<input
|
||||
id="icon-picker-svg-name"
|
||||
type="text"
|
||||
pInputText
|
||||
[(ngModel)]="svgName"
|
||||
@@ -149,8 +150,9 @@
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label>SVG Code</label>
|
||||
<label for="icon-picker-svg-code">SVG Code</label>
|
||||
<textarea
|
||||
id="icon-picker-svg-code"
|
||||
pInputTextarea
|
||||
[(ngModel)]="svgContent"
|
||||
(ngModelChange)="onSvgContentChange()"
|
||||
|
||||
Reference in New Issue
Block a user