Add WCAG 2.2 AA accessibility baseline and browser tests

- Layout: skip link to the main content and a <main> landmark
- Home page: stable button label, counter announced via a live status region
- Pest browser plugin + Playwright: axe checks (level 2) in light/dark and
  desktop/mobile, plus a keyboard-only interaction test
- Register the Browser test suite in phpunit.xml and Pest.php
- CLAUDE.md: accessibility development rules and browser test notes
- Boost-refreshed testing-best-practices skill files

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-22 09:45:13 +02:00
co-authored by Claude Opus 5.5
parent 919e24c252
commit d403a86443
16 changed files with 1762 additions and 7 deletions
+10 -1
View File
@@ -15,7 +15,16 @@
@fluxAppearance
</head>
<body class="min-h-screen bg-white antialiased dark:bg-zinc-800">
{{ $slot }}
<a
href="#main-content"
class="sr-only focus:not-sr-only focus:fixed focus:start-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-white focus:px-4 focus:py-2 focus:text-zinc-900 focus:shadow-lg focus:outline-2 focus:outline-offset-2 focus:outline-blue-700"
>
Siirry pääsisältöön
</a>
<main id="main-content" tabindex="-1" class="focus:outline-none">
{{ $slot }}
</main>
@livewireScripts
@fluxScripts