chore(ui): clear eslint presentation-label bucket
- Frontend accessibility cleanup: - replace presentational `<label>` elements with `<span>` in settings, reader preferences, and file-mover templates where the text was acting as a control-group heading rather than a form label - keep the markup semantics aligned with toggles, sliders, button groups, and custom components instead of forcing fake label associations - Lint progress: - reduce the `@angular-eslint/template/label-has-associated-control` backlog by removing false-positive label markup before the real control-association pass - Validation: - `just ui lint`
This commit is contained in:
+4
-4
@@ -17,7 +17,7 @@
|
||||
[(ngModel)]="publicReviewSettings.downloadEnabled"
|
||||
(onChange)="onPublicReviewsToggle($event.checked)">
|
||||
</p-toggleswitch>
|
||||
<label class="setting-label">{{ t('downloadLabel') }}</label>
|
||||
<span class="setting-label">{{ t('downloadLabel') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -28,14 +28,14 @@
|
||||
[(ngModel)]="publicReviewSettings.autoDownloadEnabled"
|
||||
(onChange)="onAutoDownloadToggle($event.checked)">
|
||||
</p-toggleswitch>
|
||||
<label class="setting-label">{{ t('autoDownloadLabel') }}</label>
|
||||
<span class="setting-label">{{ t('autoDownloadLabel') }}</span>
|
||||
</div>
|
||||
<p class="setting-description">{{ t('autoDownloadDesc') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="setting-item">
|
||||
<div class="setting-header-standalone">
|
||||
<label class="setting-label">{{ t('reviewSources') }}</label>
|
||||
<span class="setting-label">{{ t('reviewSources') }}</span>
|
||||
</div>
|
||||
<p class="setting-description">{{ t('reviewSourcesDesc') }}</p>
|
||||
@if (publicReviewSettings.providers.length > 0) {
|
||||
@@ -48,7 +48,7 @@
|
||||
[(ngModel)]="provider.enabled"
|
||||
(onChange)="onProviderToggle(provider.provider, $event.checked)">
|
||||
</p-toggleswitch>
|
||||
<label class="provider-label">{{ provider.provider }}</label>
|
||||
<span class="provider-label">{{ provider.provider }}</span>
|
||||
</div>
|
||||
@if (provider.enabled) {
|
||||
<div class="max-reviews-control">
|
||||
|
||||
Reference in New Issue
Block a user