Archived
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:
@@ -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 "Skip to main content". 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 "Add one …" and "Remove one …", 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'll help you book and fix the problem.
|
||||
</GuideItem>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: "help",
|
||||
label: "Still need help?",
|
||||
|
||||
Reference in New Issue
Block a user