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
|
|
@ -265,7 +265,7 @@ function deleteFolder() {
|
|||
:aria-pressed="view === option.key"
|
||||
@click="view = option.key"
|
||||
>
|
||||
<component :is="option.icon" class="size-4" /> <span class="hidden sm:inline">{{ option.label }}</span>
|
||||
<component :is="option.icon" class="size-4" /> <span class="max-sm:sr-only">{{ option.label }}</span>
|
||||
</button>
|
||||
</div>
|
||||
<Button v-if="canEdit" :disabled="upload.processing" @click="fileInput?.click()">
|
||||
|
|
|
|||
|
|
@ -73,26 +73,17 @@ watch(() => page.props.flash.status, (status) => status && toast.success(status)
|
|||
|
||||
<Panel title="Details" class="content-start">
|
||||
<dl class="grid gap-4 text-sm">
|
||||
<div class="flex gap-3">
|
||||
<Clock class="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
||||
<div>
|
||||
<dt class="text-xs text-muted-foreground">Wann</dt>
|
||||
<dd>{{ formatEventRange(event) }}</dd>
|
||||
</div>
|
||||
<div class="relative min-w-0 pl-7">
|
||||
<dt class="text-xs text-muted-foreground"><Clock class="absolute top-0.5 left-0 size-4 text-muted-foreground" aria-hidden="true" />Wann</dt>
|
||||
<dd>{{ formatEventRange(event) }}</dd>
|
||||
</div>
|
||||
<div v-if="event.location" class="flex gap-3">
|
||||
<MapPin class="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
||||
<div>
|
||||
<dt class="text-xs text-muted-foreground">Ort</dt>
|
||||
<dd>{{ event.location }}</dd>
|
||||
</div>
|
||||
<div v-if="event.location" class="relative min-w-0 pl-7">
|
||||
<dt class="text-xs text-muted-foreground"><MapPin class="absolute top-0.5 left-0 size-4 text-muted-foreground" aria-hidden="true" />Ort</dt>
|
||||
<dd>{{ event.location }}</dd>
|
||||
</div>
|
||||
<div v-if="event.online_url" class="flex gap-3">
|
||||
<Video class="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
||||
<div class="min-w-0">
|
||||
<dt class="text-xs text-muted-foreground">Online</dt>
|
||||
<dd class="truncate"><a :href="event.online_url" target="_blank" rel="noopener" class="text-brand-text hover:underline">Zur Teilnahme</a></dd>
|
||||
</div>
|
||||
<div v-if="event.online_url" class="relative min-w-0 pl-7">
|
||||
<dt class="text-xs text-muted-foreground"><Video class="absolute top-0.5 left-0 size-4 text-muted-foreground" aria-hidden="true" />Online</dt>
|
||||
<dd class="truncate"><a :href="event.online_url" target="_blank" rel="noopener" class="text-brand-text hover:underline">Zur Teilnahme</a></dd>
|
||||
</div>
|
||||
</dl>
|
||||
<Button variant="outline" class="mt-5 w-full" as-child>
|
||||
|
|
|
|||
|
|
@ -211,16 +211,16 @@ const palette = computed(() => {
|
|||
|
||||
<div class="flex rounded-md border p-0.5 text-sm" role="group" aria-label="Ansicht">
|
||||
<button type="button" class="flex items-center gap-1.5 rounded px-2.5 py-1" :class="mode === 'edit' ? 'bg-brand-soft font-medium text-brand-soft-foreground' : 'text-muted-foreground hover:bg-accent'" @click="mode = 'edit'">
|
||||
<PencilLine class="size-4" /> <span class="hidden sm:inline">Bearbeiten</span>
|
||||
<PencilLine class="size-4" /> <span class="max-sm:sr-only">Bearbeiten</span>
|
||||
</button>
|
||||
<button type="button" class="flex items-center gap-1.5 rounded px-2.5 py-1" :class="mode === 'preview' ? 'bg-brand-soft font-medium text-brand-soft-foreground' : 'text-muted-foreground hover:bg-accent'" @click="mode = 'preview'; select(null)">
|
||||
<Eye class="size-4" /> <span class="hidden sm:inline">Vorschau</span>
|
||||
<Eye class="size-4" /> <span class="max-sm:sr-only">Vorschau</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<Button variant="ghost" size="icon" as-child title="Einstellungen, Benachrichtigung und Zugriff"><a :href="settingsUrl"><Settings2 /></a></Button>
|
||||
<Button v-if="resultsUrl" variant="ghost" size="icon" as-child title="Ergebnisse"><a :href="resultsUrl"><TableProperties /></a></Button>
|
||||
<Button :disabled="saving || !dirty" @click="save"><Save /> <span class="hidden sm:inline">Speichern</span></Button>
|
||||
<Button :disabled="saving || !dirty" @click="save"><Save /> <span class="max-sm:sr-only">Speichern</span></Button>
|
||||
</header>
|
||||
|
||||
<div class="flex min-h-0 flex-1">
|
||||
|
|
|
|||
|
|
@ -516,10 +516,10 @@ function autoGrow(event) {
|
|||
<Button v-if="canPublish" :disabled="form.processing" @click="submit('publish')">
|
||||
<LoaderCircle v-if="form.processing && form.action === 'publish'" class="animate-spin" />
|
||||
<CalendarClock v-else-if="scheduled" /><Send v-else />
|
||||
<span class="hidden sm:inline">{{ scheduled ? 'Planen' : isPublished ? 'Aktualisieren' : 'Veröffentlichen' }}</span>
|
||||
<span class="max-sm:sr-only">{{ scheduled ? 'Planen' : isPublished ? 'Aktualisieren' : 'Veröffentlichen' }}</span>
|
||||
</Button>
|
||||
<Button v-else :disabled="form.processing || isPending" @click="submit('submit')">
|
||||
<Send /> <span class="hidden sm:inline">{{ isPending ? 'Liegt zur Freigabe vor' : 'Zur Freigabe einreichen' }}</span>
|
||||
<Send /> <span class="max-sm:sr-only">{{ isPending ? 'Liegt zur Freigabe vor' : 'Zur Freigabe einreichen' }}</span>
|
||||
</Button>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
|
|
@ -608,10 +608,10 @@ const canvasWidth = computed(() => devices.find((d) => d.key === device.value).w
|
|||
</DropdownMenu>
|
||||
|
||||
<Button v-if="page.can.publish" :disabled="readOnly" @click="dialogs.publish = true">
|
||||
<Send /> <span class="hidden sm:inline">Veröffentlichen</span>
|
||||
<Send /> <span class="max-sm:sr-only">Veröffentlichen</span>
|
||||
</Button>
|
||||
<Button v-else :disabled="readOnly" @click="dialogs.review = true">
|
||||
<Send /> <span class="hidden sm:inline">Freigabe anfordern</span>
|
||||
<Send /> <span class="max-sm:sr-only">Freigabe anfordern</span>
|
||||
</Button>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue