Adds the fallbacks for visitors without JavaScript

The mobile menu works through CSS, and controls that need JavaScript are hidden
without it. The contact photo gets its own preload, and the tests cover the new
Reveal behaviour, the first row and the noscript markup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 23:09:33 +01:00
co-authored by Claude Opus 5.5
parent 44125155bc
commit 01fcfeefea
38 changed files with 1510 additions and 67 deletions
+8 -2
View File
@@ -3,14 +3,20 @@ import { Box, Heading, Stack } from '@chakra-ui/react';
type FooterColumnProps = {
title: string;
// Hidden without JavaScript, for a column that only holds items that need it
requiresJs?: boolean;
children: ReactNode;
};
// Kolom in de footer: kopje als label, daaronder een lijst. De kop is een h2,
// want de kolommen zijn hoofdsecties van de pagina (BR-SEO-09).
export default function FooterColumn({ title, children }: FooterColumnProps) {
export default function FooterColumn({
title,
requiresJs,
children,
}: FooterColumnProps) {
return (
<Box>
<Box data-requires-js={requiresJs || undefined}>
<Heading
as="h2"
// Mobiele schermlezers lezen de CSS-hoofdletters ("SOCIALS") als