Barrierefreiheit nach WCAG 2.1 AA (0.37.0)
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 5m58s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m45s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m4s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 6m47s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 14m39s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 14m39s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 10m45s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m52s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 1m16s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m49s
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 5m58s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m45s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m4s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 6m47s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 14m39s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 14m39s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 10m45s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m52s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 1m16s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m49s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
452d3d3303
commit
f8f6a4ba2b
151 changed files with 584 additions and 394 deletions
|
|
@ -93,6 +93,12 @@ const themeOptions = [
|
|||
<template>
|
||||
<Head v-if="title" :title="title" />
|
||||
|
||||
<!-- Tastatur und Screenreader: direkt zum Inhalt, ohne sich durch das Menü zu arbeiten -->
|
||||
<a
|
||||
href="#inhalt"
|
||||
class="sr-only z-[100] rounded-md border bg-card text-sm font-semibold text-foreground shadow-lg focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:px-4 focus:py-2.5"
|
||||
>Zum Inhalt springen</a>
|
||||
|
||||
<div class="flex min-h-screen flex-col">
|
||||
<!-- Administration sieht das Portal als andere Person -->
|
||||
<div
|
||||
|
|
@ -298,7 +304,7 @@ const themeOptions = [
|
|||
</div>
|
||||
</header>
|
||||
|
||||
<main class="mx-auto w-full max-w-[1440px] flex-1 px-4 py-6 lg:px-6 lg:py-7">
|
||||
<main id="inhalt" tabindex="-1" class="mx-auto w-full max-w-[1440px] flex-1 px-4 py-6 outline-none lg:px-6 lg:py-7">
|
||||
<slot />
|
||||
</main>
|
||||
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ onBeforeUnmount(() => window.removeEventListener('beforeunload', warnUnsaved));
|
|||
<span v-else-if="state.has_draft">Entwurf gespeichert – noch nicht veröffentlicht</span>
|
||||
<span v-else-if="!state.published">Noch nicht veröffentlicht – Ausgangspunkt ist die heutige Startseite</span>
|
||||
<span v-else>Veröffentlicht</span>
|
||||
<span class="hidden sm:inline">· Startseite zeigt derzeit: {{ state.mode === 'builder' ? 'diese Gestaltung' : 'Kacheln (wie bisher)' }}</span>
|
||||
<span class="max-sm:sr-only">· Startseite zeigt derzeit: {{ state.mode === 'builder' ? 'diese Gestaltung' : 'Kacheln (wie bisher)' }}</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
@ -301,7 +301,7 @@ onBeforeUnmount(() => window.removeEventListener('beforeunload', warnUnsaved));
|
|||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
|
||||
<Button :disabled="publishing" @click="publish"><LoaderCircle v-if="publishing" class="animate-spin" /><Send v-else /> <span class="hidden sm:inline">Veröffentlichen</span></Button>
|
||||
<Button :disabled="publishing" @click="publish"><LoaderCircle v-if="publishing" class="animate-spin" /><Send v-else /> <span class="max-sm:sr-only">Veröffentlichen</span></Button>
|
||||
</header>
|
||||
|
||||
<div class="flex min-h-0 flex-1">
|
||||
|
|
|
|||
|
|
@ -66,15 +66,13 @@ function fieldHref(field) {
|
|||
<div class="grid content-start gap-6 lg:col-span-5">
|
||||
<Panel title="Kontakt">
|
||||
<dl class="grid gap-4">
|
||||
<div v-for="item in contact" :key="item.label" class="flex items-start gap-3">
|
||||
<component :is="item.icon" class="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
||||
<div class="min-w-0">
|
||||
<dt class="text-xs text-muted-foreground">{{ item.label }}</dt>
|
||||
<dd class="truncate text-sm">
|
||||
<a v-if="item.href" :href="item.href" class="text-brand-text hover:underline">{{ item.value }}</a>
|
||||
<template v-else>{{ item.value }}</template>
|
||||
</dd>
|
||||
</div>
|
||||
<!-- Symbol im <dt>, damit <dl> nur Begriffe und Beschreibungen enthält (Screenreader) -->
|
||||
<div v-for="item in contact" :key="item.label" class="relative min-w-0 pl-7">
|
||||
<dt class="text-xs text-muted-foreground"><component :is="item.icon" class="absolute top-0.5 left-0 size-4 text-muted-foreground" aria-hidden="true" />{{ item.label }}</dt>
|
||||
<dd class="truncate text-sm">
|
||||
<a v-if="item.href" :href="item.href" class="text-brand-text hover:underline">{{ item.value }}</a>
|
||||
<template v-else>{{ item.value }}</template>
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</Panel>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ defineProps({
|
|||
</blockquote>
|
||||
<p v-if="note || link" class="mt-3 border-t pt-2 text-xs text-muted-foreground">
|
||||
{{ note }}
|
||||
<a v-if="link" :href="link.url" target="_blank" rel="noopener" class="text-brand-text hover:underline">{{ link.label }}</a>
|
||||
<a v-if="link" :href="link.url" target="_blank" rel="noopener" class="text-brand-text underline underline-offset-2 hover:decoration-2">{{ link.label }}</a>
|
||||
</p>
|
||||
</section>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue