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:
+5
-5
@@ -3,7 +3,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('pageSpread') }}</label>
|
||||
<span class="setting-label">{{ t('pageSpread') }}</span>
|
||||
<div class="button-group">
|
||||
@for (spread of cbxSpreads; track spread) {
|
||||
<button
|
||||
@@ -26,7 +26,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('pageLayout') }}</label>
|
||||
<span class="setting-label">{{ t('pageLayout') }}</span>
|
||||
<div class="button-group">
|
||||
@for (mode of cbxViewModes; track mode) {
|
||||
<button
|
||||
@@ -49,7 +49,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('fitMode') }}</label>
|
||||
<span class="setting-label">{{ t('fitMode') }}</span>
|
||||
<div class="button-group">
|
||||
@for (mode of cbxFitModes; track mode) {
|
||||
<button
|
||||
@@ -74,7 +74,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('scrollMode') }}</label>
|
||||
<span class="setting-label">{{ t('scrollMode') }}</span>
|
||||
<div class="button-group">
|
||||
@for (mode of cbxScrollModes; track mode) {
|
||||
<button
|
||||
@@ -97,7 +97,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('backgroundColor') }}</label>
|
||||
<span class="setting-label">{{ t('backgroundColor') }}</span>
|
||||
<div class="theme-selector">
|
||||
@for (color of cbxBackgroundColors; track color) {
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user