a11y: viewport-fit, reduced-motion, like aria-pressed, labels, contrast (M13-M18)
M13: add viewport-fit=cover so env(safe-area-inset-*) resolves on notched phones. M14: like buttons (list card, grid overlay, lightbox) get aria-pressed + a descriptive aria-label so AT announces self-state, not just the shared count. M15: a prefers-reduced-motion media query neutralizes the decorative keyframes (Ken Burns, crossfade, HeartBurst) and snaps transitions. M16: join/recover name + PIN inputs and the lightbox comment input get aria-labels. M17: FeedGrid overlay like/comment buttons get aria-labels and ≥44px hit areas. M18: bump light-mode secondary text from gray-400 to gray-500 (keeping dark:text-gray-400) across the app for WCAG AA contrast. Also raises the PIN inputs to 6 digits (placeholder, maxlength, slice, and the auto-submit threshold) to match the new 6-digit generated PINs; legacy 4-digit PINs still submit via the button. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{#if expiry}
|
||||
<p class="mt-3 text-xs text-gray-400 dark:text-gray-500">Sitzung gültig bis {formatDate(expiry)}</p>
|
||||
<p class="mt-3 text-xs text-gray-500 dark:text-gray-400">Sitzung gültig bis {formatDate(expiry)}</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
style="width: {quotaPercent}%"
|
||||
></div>
|
||||
</div>
|
||||
<p class="mt-2 text-xs text-gray-400 dark:text-gray-500">
|
||||
<p class="mt-2 text-xs text-gray-500 dark:text-gray-400">
|
||||
Geschätzt für {$quotaStore.active_uploaders} aktive Beitragende.
|
||||
</p>
|
||||
</div>
|
||||
@@ -361,7 +361,7 @@
|
||||
href="/recover"
|
||||
class="flex items-center gap-3 px-5 py-4 transition hover:bg-gray-50 dark:hover:bg-gray-700/50"
|
||||
>
|
||||
<svg class="h-5 w-5 text-gray-400 dark:text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5">
|
||||
<svg class="h-5 w-5 text-gray-500 dark:text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 8.25h3m-3 3h3m-3 3h3" />
|
||||
</svg>
|
||||
<span class="flex-1 text-sm font-medium text-gray-700 dark:text-gray-300">Gerät wechseln / PIN nutzen</span>
|
||||
|
||||
Reference in New Issue
Block a user