Files
faunosteo/.claude/audits/BUGS-FOUND.md
T

1.9 KiB

BUGS-FOUND — behavior-changing findings quarantined by audits

Findings that fixing would change observable behavior — logged here by audit/cleanup passes, never fixed by them. Route to /bugfix or /feat.

Tour 2026-07-12 (clean-phase audit) — ALL FIXED 2026-07-12 (user-directed pass, same branch)

id file:line description severity
B-1 (fixed 83f02c8) src/components/ui/Dialog.tsx:54 Close button aria-label="Fermer" hardcoded French — every dialog exposes a French label to EN-locale screen-reader users. No common.close key exists; fix = add key to both dicts + t() low (a11y/i18n)
B-2 (fixed 83f02c8) src/components/brand/LanguageSwitcher.tsx Group aria-label="Language" hardcoded English — FR users get English group label. Fix = new dict key low (a11y/i18n)
B-3 (fixed f58a49f) src/state/reportStore.ts:145-152 Draft persistence write-only: every change mirrors report to sessionStorage osteo:draft, but no code path restores it — refresh loses session despite the mirror. readPersistedDraft() (reportStore.ts:154) exists unused; either implement restore or remove mirror+helper. CLAUDE.md advertises the auto-save medium (unfinished feature)
B-4 (fixed 255ab96) src/i18n/fr.ts vs en.ts (pdf.title_prefix) PDF title prefix semantics differ per locale: FR 'Bilan ostéo — ' vs EN 'Faunosteo — ' (document type vs brand). Possibly unintended discrepancy in exported PDF metadata low
B-5 (fixed 74e1623) src/app/routes/SvgEditorRoute.tsx:146,152,154 Hardcoded placeholders "head", "ex: Hanche", "ex: Hip joint" bypass i18n on an otherwise localized page. Possibly intentional examples low
B-6 (fixed b047d35) src/domain/species/types.ts:19 + AnimalForm.tsx:32 SpeciesManifest only carries labelFr — species dropdown shows "Cheval" to EN users. Fix requires manifest type change (labelEn) low (i18n gap)