From 7bf8b07546611f28c0d814345338837d07a0445d Mon Sep 17 00:00:00 2001 From: Remko Date: Tue, 10 Oct 2023 14:39:12 +0200 Subject: [PATCH] added Clickables, Forms and Document improvements --- pwa/src/templates/jumbotronTemplate/JumbotronTemplate.tsx | 7 ++++++- .../templates/templateParts/filters/FiltersTemplate.tsx | 3 +++ pwa/src/templates/templateParts/footer/FooterTemplate.tsx | 1 + pwa/src/translations/en.ts | 3 +++ pwa/src/translations/nl.ts | 2 ++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/pwa/src/templates/jumbotronTemplate/JumbotronTemplate.tsx b/pwa/src/templates/jumbotronTemplate/JumbotronTemplate.tsx index 35aed429..e18490bb 100644 --- a/pwa/src/templates/jumbotronTemplate/JumbotronTemplate.tsx +++ b/pwa/src/templates/jumbotronTemplate/JumbotronTemplate.tsx @@ -8,7 +8,12 @@ export const JumbotronTemplate: React.FC = () => { const { t } = useTranslation(); return ( -
+
diff --git a/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx b/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx index e293e023..8537d6e5 100644 --- a/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx +++ b/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx @@ -55,6 +55,7 @@ export const FiltersTemplate: React.FC = ({ isLoading }) = name="title" placeholder={`${t("Search")}..`} defaultValue={filters._search} + aria-label={t("Search")} {...{ register, errors }} /> = ({ isLoading }) = placeholder={t("Year")} isClearable {...{ register, errors, control }} + aria-label={t("Select year")} /> = ({ isLoading }) = defaultValue={TEMP_PUBLICATION_TYPES.find((option) => option.value === filters.Categorie)} isClearable {...{ register, errors, control }} + aria-label={t("Select category")} />