Accessibility pass, WCAG 2.2 AA (1.50.0)

Public pages, auth, registration, payment, My Events and the kiosk: skip
link, focus ring, labels tied to fields, named quantity buttons, announced
errors, ModalOverlay popups (focus trap, Escape, focus return), contrast
and underlined in-text links, reduced motion. Branding warns about a primary
colour too light for white text and offers a darker shade. axe-core and
keyboard checks in e2e/accessibility.spec.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 15:41:19 +02:00
co-authored by Claude Opus 5.5
parent 98173c1380
commit e9d1b1fb24
57 changed files with 793 additions and 256 deletions
+22 -1
View File
@@ -1,5 +1,5 @@
import React from "react";
import { Search, UserPlus, CreditCard, Calendar, Ticket, LogIn, KeyRound, MessageCircleQuestion, Phone } from "lucide-react";
import { Search, UserPlus, CreditCard, Calendar, Ticket, LogIn, KeyRound, MessageCircleQuestion, Phone, Keyboard } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
@@ -84,6 +84,27 @@ export const generalHelpContent: HelpContent = {
</div>
),
},
{
key: "accessibility",
label: "Keyboard & screen readers",
icon: Keyboard,
content: (
<div className="space-y-4">
<p>You can use the site without a mouse, and with a screen reader.</p>
<div className="space-y-4">
<GuideItem icon={Keyboard} title="Keyboard" tone="brand">
Press Tab to move through links, fields and buttons (Shift+Tab goes back); an outline shows where you are. The first Tab on any page offers &quot;Skip to main content&quot;. Enter or Space presses a button, and Escape closes a popup.
</GuideItem>
<GuideItem icon={Ticket} title="Choosing tickets" tone="green">
The + and − buttons next to each ticket are read out as &quot;Add one …&quot; and &quot;Remove one …&quot;, and the new number is announced.
</GuideItem>
<GuideItem icon={MessageCircleQuestion} title="Something hard to use?" tone="amber">
Let us know through the Contact page — we&apos;ll help you book and fix the problem.
</GuideItem>
</div>
</div>
),
},
{
key: "help",
label: "Still need help?",