Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/XW-87/WCAG #111

Merged
merged 3 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
};
Loading