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:
@@ -16,6 +16,7 @@ export default function HeroArrows({ onPrev, onNext }: HeroArrowsProps) {
|
||||
side="left"
|
||||
aria-label="Vorige foto"
|
||||
data-testid="hero-prev-button"
|
||||
data-requires-js
|
||||
onClick={onPrev}
|
||||
>
|
||||
<Icon icon={leftOutlined} aria-hidden />
|
||||
@@ -24,6 +25,7 @@ export default function HeroArrows({ onPrev, onNext }: HeroArrowsProps) {
|
||||
side="right"
|
||||
aria-label="Volgende foto"
|
||||
data-testid="hero-next-button"
|
||||
data-requires-js
|
||||
onClick={onNext}
|
||||
>
|
||||
<Icon icon={rightOutlined} aria-hidden />
|
||||
|
||||
Reference in New Issue
Block a user