diff --git a/.env.example b/.env.example index d0a5c51d..cfa1b07a 100644 --- a/.env.example +++ b/.env.example @@ -14,3 +14,23 @@ VAPID_SUBJECT=mailto:support@example.com # from /api/settings/branding/logo/... with CDN-style immutable cache headers # (fine for local dev and CI). BLOB_READ_WRITE_TOKEN= + +# --------------------------------------------------------------------------- +# Error tracking & crash reporting (Sentry) +# --------------------------------------------------------------------------- +# See docs/ERROR_TRACKING.md for setup, grouping, sourcemaps, privacy, and +# alert rules for critical errors. +# +# NEXT_PUBLIC_SENTRY_DSN: client-side DSN used by the browser SDK. Leave empty +# to disable error reporting (e.g. local dev and CI). This value is public. +NEXT_PUBLIC_SENTRY_DSN= + +# SENTRY_ORG / SENTRY_PROJECT: used by the Sentry CLI/Webpack plugin to upload +# sourcemaps during the build so stack traces are readable. +SENTRY_ORG= +SENTRY_PROJECT= + +# SENTRY_AUTH_TOKEN: server-only token with `project:releases` scope for +# sourcemap uploads. Never expose this to the client. Leave empty to skip +# sourcemap upload (builds still succeed, traces will be minified). +SENTRY_AUTH_TOKEN= \ No newline at end of file diff --git a/docs/ACCESSIBILITY.md b/docs/ACCESSIBILITY.md index e82b2510..6b42e749 100644 --- a/docs/ACCESSIBILITY.md +++ b/docs/ACCESSIBILITY.md @@ -53,6 +53,31 @@ The initial audit surfaced the following categories of critical/serious violatio - **Browser coverage locally vs. CI.** A fresh dev sandbox may only have the Chromium Playwright browser installed. CI installs Chromium, Firefox, and WebKit via `npx playwright install --with-deps`, so the merge gate is multi-engine even when a local run (`npx playwright test --grep @a11y`) only exercises Chromium. - **Moderate/minor axe findings are not gated on.** Only `critical`/`serious` impact violations fail the build, per the acceptance criteria. Any moderate/minor findings surfaced by axe during a run are not currently tracked separately. +## Breadcrumbs and contextual help + +The breadcrumb navigation (`src/components/Breadcrumbs.tsx`) and contextual help system (`src/components/HelpTooltip.tsx`) are covered by the same axe gate and have an explicit accessibility contract: + +### Breadcrumbs + +- Rendered as a `