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
@@ -14,7 +14,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('pdfLabel') }}</label>
|
||||
<span class="setting-label">{{ t('pdfLabel') }}</span>
|
||||
<div class="button-group">
|
||||
@for (item of scopeOptions; track item) {
|
||||
<button
|
||||
@@ -37,7 +37,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('ebookLabel') }}</label>
|
||||
<span class="setting-label">{{ t('ebookLabel') }}</span>
|
||||
<div class="button-group">
|
||||
@for (item of scopeOptions; track item) {
|
||||
<button
|
||||
@@ -60,7 +60,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('comicLabel') }}</label>
|
||||
<span class="setting-label">{{ t('comicLabel') }}</span>
|
||||
<div class="button-group">
|
||||
@for (item of scopeOptions; track item) {
|
||||
<button
|
||||
@@ -83,7 +83,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('streamingPdfLabel') }}</label>
|
||||
<span class="setting-label">{{ t('streamingPdfLabel') }}</span>
|
||||
<div class="button-group">
|
||||
@for (item of scopeOptions; track item) {
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user