Quality
How this site is tested
I test this site the way I test products: every change goes through the same gates, security included, before it is deployed. If a check fails, the change does not ship.
Quality gates
| Gate | Tool | What it checks | Status |
|---|---|---|---|
| End-to-end smoke tests | Playwright | Every page opens without errors on desktop and mobile; navigation, the skip link, the email link and the 404 page work; internal links and anchors resolve. | active |
| Accessibility | axe-core + Playwright | WCAG 2.2 A and AA rules on every page, desktop and mobile. | active |
| Performance & SEO budgets | Lighthouse CI | Performance ≥ 95, Accessibility 100, Best Practices ≥ 95, SEO 100, median of three runs. The build fails below that. | active |
| Broken links | lychee | Internal and external links and anchors, on every change and weekly. | active |
| Visual regression | Playwright screenshots | Full-page screenshots of every page, desktop and mobile, compared with approved baselines. Run by hand before a layout change ships. | active |
| Spelling | cspell | Typos in page content and code. | active |
| Type check & build | astro check | Content and templates compile without errors. | active |
| Code quality gate | SonarQube Cloud | Bugs, code smells, duplication and cognitive complexity in the TypeScript, the configs and the deploy files. The gate is scoped to new code: a pull request that misses it does not merge. | active |
Security
| Gate | Tool | What it checks | Status |
|---|---|---|---|
| Security headers | Playwright | Every page and the 404, as the production server sends them: a Content-Security-Policy with no inline scripts or styles, HSTS, frame, referrer and permissions policies, no CSP violations. Only GET and HEAD; no hidden files, directory listings or source maps; a valid security.txt. | active |
| Dynamic scan | OWASP ZAP baseline | Crawls both sites and passively checks every response. Any warning fails the build. | active |
| Live headers grade | Mozilla HTTP Observatory | After every deploy, the headers visitors actually get through the CDN must score A+. | active |
| Static analysis | CodeQL | The site's TypeScript and the CI workflows themselves, on every change and weekly. | active |
| Secrets | gitleaks | A pre-commit hook stops a commit that adds a key or token; CI scans the whole git history again on every change. | active |