Accessibility & Security

Accessibility and edge security are first-class compiler and CI gates in Solo Website System — not optional plugins bolted on after launch.

WCAG 2.2 Level AA (Native Semantics Only)

Dual Security-Header Contract

Cloudflare's _headers file applies only to static assets. Every dynamic /api/* response handled by the Rust edge Worker must apply the exact same header set via with_security_headers.

Header Enforced Value
Strict-Transport-Security max-age=63072000; includeSubDomains; preload
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy strict-origin-when-cross-origin
Permissions-Policy Disables accelerometer, camera, geolocation, gyroscope, magnetometer, microphone, payment, usb, browsing-topics
Cross-Origin-Opener-Policy same-origin
Content-Security-Policy default-src 'self', Turnstile allowlisted on https://challenges.cloudflare.com, style-src 'self', object-src 'none', frame-ancestors 'none', upgrade-insecure-requests

Four independent checks enforce header parity: Rust unit tests (cargo test), static Node parity (npm run check:headers), live parity (npm run check:headers:live), and Playwright E2E (tests/headers.spec.mjs).

Edge Worker & Data Safety

Reporting Security Issues

Please report potential security vulnerabilities privately according to SECURITY.md in the repository rather than opening a public GitHub issue.