Skip to content

Commit

Permalink
Merge pull request #111 from ConductionNL/feature/XW-87/WCAG
Browse files Browse the repository at this point in the history
feature/XW-87/WCAG
  • Loading branch information
remko48 authored Oct 11, 2023
2 parents 0b67b3f + 270f303 commit 69a15e9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pwa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"prepare": "cd .. && husky install"
},
"dependencies": {
"@conduction/components": "2.2.12",
"@conduction/components": "2.2.13",
"@conduction/theme": "1.0.45",
"@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
Expand Down
2 changes: 1 addition & 1 deletion pwa/src/templates/jumbotronTemplate/JumbotronTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const JumbotronTemplate: React.FC = () => {
<Page>
<PageContent>
<div>
<CardWrapper className={styles.card}>
<CardWrapper aria-label={t("Jumbotron card")} role="contentinfo" className={styles.card}>
<Heading2 className={styles.title}>
{t("Woo-publications of")} {process.env.GATSBY_ORGANISATION_NAME}
</Heading2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const FiltersTemplate: React.FC<FiltersTemplateProps> = ({ isLoading }) =
name="title"
placeholder={`${t("Search")}..`}
defaultValue={filters._search}
aria-label={t("Search")}
ariaLabel={t("Enter search query")}
{...{ register, errors }}
/>
<SelectSingle
Expand Down
3 changes: 3 additions & 0 deletions pwa/src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export const en = {
Subject: "Subject",
Address: "Address",
Page: "Page",
Jumbotron: "Jumbotron",
"Jumbotron card": "Jumbotron card",
"N/A": "N/A",
"Details page": "Details page",
"Back to homepage": "Back to homepage",
Expand Down Expand Up @@ -48,4 +50,5 @@ export const en = {
"Next page": "Next page",
"Can open a new window": "Can open a new window",
"No results found": "No results found",
"Enter search query": "Enter search query",
};
3 changes: 3 additions & 0 deletions pwa/src/translations/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export const nl = {
Subject: "Onderwerp",
Address: "Adres",
Page: "Pagina",
Jumbotron: "Jumbotron",
"Jumbotron card": "Jumbotron tegel",
"N/A": "N.v.t",
"Details page": "Detailpagina",
"Back to homepage": "Terug naar home",
Expand Down Expand Up @@ -48,4 +50,5 @@ export const nl = {
"Next page": "Volgende pagina",
"Can open a new window": "Kan een nieuw venster openen",
"No results found": "Geen resultaten gevonden",
"Enter search query": "Voer zoekopdracht in",
};

0 comments on commit 69a15e9

Please sign in to comment.