a11y: Touch-Target System mit Token-basierter Sizing (Redesign Phase E)

- Neue Tokens: --target-sm (32px), --target-md (40px), --target-lg (48px)
- Globale min-height:44px Regel aus reset.css entfernt
- Alle 28 min-height:unset Overrides eliminiert
- Strategy A: Buttons, Nav-Items, Inputs → 48px mobile, 40px desktop
- Strategy B: Kleine Elemente (Checkboxen, Swatches, Delete-Buttons)
  → ::before Pseudo-Element expandiert Touch-Area auf 48×48px

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ulsklyc
2026-03-26 13:43:12 +01:00
parent 73cd322a71
commit 152246185e
10 changed files with 124 additions and 39 deletions
+16 -4
View File
@@ -161,7 +161,7 @@
font-size: var(--text-sm);
padding: var(--space-2);
transition: color var(--transition-fast);
min-height: unset;
min-height: var(--target-lg);
}
.meal-slot__add-btn:hover {
@@ -230,10 +230,16 @@
display: flex;
align-items: center;
justify-content: center;
min-height: unset;
position: relative;
transition: color var(--transition-fast), background-color var(--transition-fast);
}
.meal-card__action-btn::before {
content: '';
position: absolute;
inset: -12px;
}
.meal-card__action-btn:hover {
color: var(--color-danger);
background-color: var(--color-surface-2);
@@ -310,10 +316,16 @@
align-items: center;
justify-content: center;
flex-shrink: 0;
min-height: unset;
position: relative;
transition: color var(--transition-fast);
}
.ingredient-row__remove::before {
content: '';
position: absolute;
inset: -8px;
}
.ingredient-row__remove:hover {
color: var(--color-danger);
}
@@ -328,7 +340,7 @@
border: none;
cursor: pointer;
padding: var(--space-1) 0;
min-height: unset;
min-height: var(--target-lg);
}
/* Einkaufsliste-Auswahl im Modal */