From 4564d55c4c0e7a485a4f344a85e234c3647ae24b Mon Sep 17 00:00:00 2001 From: Maria Katrin Bonde Date: Wed, 28 Aug 2024 13:37:55 +0200 Subject: [PATCH] fixed accesiblity --- src/hemsedal24/components/Files.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hemsedal24/components/Files.tsx b/src/hemsedal24/components/Files.tsx index 6cfe58e25..dcdc25181 100644 --- a/src/hemsedal24/components/Files.tsx +++ b/src/hemsedal24/components/Files.tsx @@ -26,7 +26,7 @@ export default function Files({ data }: any) { {data.files.length > 0 ?
{data.files.map((file:any, index:number) => -
imageClicked(file.id, index)} onKeyDown={()=>imageClicked(file.id, index)}> +
imageClicked(file.id, index)} tabIndex={index} role='picture' aria-label='open picture' onKeyDown={()=>imageClicked(file.id, index)}> {`
)}
:

Ingen bilder ennĂ¥!

} {isPopoverOpen && (