How this site is built.
An integrator's portfolio should be checkable. Here are the choices, the rules and how they are tested.
The scores
On every change, continuous integration builds the site and checks every page, in French and in English: mobile Lighthouse (100 required in the 4 categories, on the median of 5 runs), axe with no violation in light and dark themes, keyboard navigation, reduced motion, layout at 320 px.
Technical choices
- Astro
- Static HTML: not a single line of JavaScript sent to the browser.
- Native CSS
- Colour and spacing variables, no framework, with contrast tested automatically.
- Self-hosted fonts
- Five WOFF2 files reduced to Latin and French characters: 62 kB in total.
- CSS animations
- The line draws once; with "reduce motion", it is already in place.
- A form without JavaScript
- It works with a plain form submission, protected by a honeypot field and a signed delay.
Accessibility
- A skip link to the content, the first element of every page.
- A visible 3 px focus on every interactive element.
- WCAG AA contrast, computed for every allowed colour pair.
- Targets of at least 24 × 24 px, readable without JavaScript and without overflow at 320 px.
Method
Every rule is written before the code, with examples; each example becomes a test that fails first, then passes. The rules are in the specs/ folder of the repository.
Security
No trackers, no cookies, no third-party script. Security headers (strict CSP, HSTS…) are checked after every deployment.