Mobiel menu als donker overlay zonder de pagina te verschuiven, sticky balk onder sm, skiplink, focusring en h1 met screenreader-tekst

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 15:22:26 +01:00
co-authored by Claude Sonnet 5.5
parent aa843a5675
commit 1756ab1eb0
11 changed files with 114 additions and 8 deletions
@@ -24,6 +24,8 @@ export function AboutSection() {
alt="Bryan Slop, oprichter van SLP Software"
width={480}
height={640}
loading="lazy"
decoding="async"
className="relative block aspect-[3/4] w-full object-cover object-[50%_30%]"
/>
</picture>
@@ -12,8 +12,8 @@ export function ContactSection() {
<h2
id="contact-heading"
className="text-[clamp(56px,10.5vw,168px)] font-extrabold leading-[0.88] tracking-[-0.03em] [font-stretch:125%]"
aria-label={contactInfo.heading}
>
<span className="sr-only">{contactInfo.heading}</span>
{contactInfo.displayHeading.map((line) => (
<span key={line} className="block" aria-hidden="true">
{line}
+1 -1
View File
@@ -12,8 +12,8 @@ export function Hero() {
<h1
id="hero-heading"
className="text-[clamp(56px,10.5vw,168px)] font-extrabold leading-[0.88] tracking-[-0.03em] [font-stretch:125%]"
aria-label={heroContent.heading}
>
<span className="sr-only">{heroContent.heading}</span>
{heroContent.displayHeading.map((line, index) => (
<span
key={line}