fix(a11y): skip-link target, priority labels, greeting tokens

- Rename #page-content to #main-content so skip-to-content link
  targets the semantic <main> landmark
- Add sr-only priority labels to dashboard task items for screen
  readers (WCAG 1.4.1 color-not-only)
- Replace hardcoded hex in greeting gradient with accent tokens
  so dark mode themes the banner correctly
- Replace hardcoded gap: 2px with --space-0h token
- Bump version to 0.7.2
This commit is contained in:
Ulas
2026-04-04 06:31:21 +02:00
parent 6bc4c46f03
commit 70c1291ae7
5 changed files with 29 additions and 9 deletions
+4 -2
View File
@@ -89,7 +89,9 @@
* Begrüßungs-Widget
* -------------------------------------------------------- */
.widget-greeting {
background: linear-gradient(135deg, #1D4ED8, #2563EB);
--greeting-from: var(--color-accent-active);
--greeting-to: var(--color-accent);
background: linear-gradient(135deg, var(--greeting-from), var(--greeting-to));
border-radius: var(--radius-md);
padding: var(--space-4) var(--space-5);
color: #ffffff;
@@ -99,7 +101,7 @@
.widget-greeting__content {
display: flex;
flex-direction: column;
gap: 2px;
gap: var(--space-0h);
}
.widget-greeting__title {