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:
+2
-2
@@ -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 spreads; track spread) {
|
||||
<button
|
||||
@@ -28,7 +28,7 @@
|
||||
<div class="setting-item">
|
||||
<div class="setting-info">
|
||||
<div class="setting-label-row">
|
||||
<label class="setting-label">{{ t('pageZoom') }}</label>
|
||||
<span class="setting-label">{{ t('pageZoom') }}</span>
|
||||
<div class="button-group">
|
||||
@for (zoom of zooms; track zoom) {
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user