From ee65429207e2e370acc2d8f430ff773fc0858235 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Tue, 28 Nov 2023 19:01:31 +0100 Subject: [PATCH 01/21] feat: add aria-lable to customer logos --- src/components/pages/landingpage/customers.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/pages/landingpage/customers.tsx b/src/components/pages/landingpage/customers.tsx index 1f3b494b7..7c7002f3b 100644 --- a/src/components/pages/landingpage/customers.tsx +++ b/src/components/pages/landingpage/customers.tsx @@ -60,7 +60,11 @@ const CustomerLogo = ({ const CustomerLogoSVG = LogoSet[show]; return ( - + ); From 77f120a7e9e0a22d2c1069865ce6733b7c2a79cc Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Tue, 28 Nov 2023 19:02:47 +0100 Subject: [PATCH 02/21] feat: disable back button when on first page & correct the aria-labels of the pagination buttons --- src/components/ui/pagination/pagination.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/ui/pagination/pagination.tsx b/src/components/ui/pagination/pagination.tsx index 449a5bd87..a001b3c52 100644 --- a/src/components/ui/pagination/pagination.tsx +++ b/src/components/ui/pagination/pagination.tsx @@ -42,7 +42,8 @@ const StyledLink = styled.a<{ disabled: boolean }>` disabled && css` opacity: 50%; - cursor: default; + cursor: not-allowed; + pointer-events: none; `} &:hover { @@ -83,7 +84,7 @@ export const Pagination = ({ @@ -101,7 +102,7 @@ export const Pagination = ({ From 1949a51b2952e079f63e18d504718a47b93fa703 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Tue, 28 Nov 2023 19:01:31 +0100 Subject: [PATCH 03/21] feat: add aria-lable to customer logos --- src/components/pages/landingpage/customers.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/pages/landingpage/customers.tsx b/src/components/pages/landingpage/customers.tsx index b7360e43e..64e52dbd3 100644 --- a/src/components/pages/landingpage/customers.tsx +++ b/src/components/pages/landingpage/customers.tsx @@ -60,7 +60,11 @@ const CustomerLogo = ({ const CustomerLogoSVG = LogoSet[show]; return ( - + ); From 5b926470610899e524d584e696eb31a99f3932d0 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Tue, 28 Nov 2023 19:02:47 +0100 Subject: [PATCH 04/21] feat: disable back button when on first page & correct the aria-labels of the pagination buttons --- src/components/ui/pagination/pagination.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/ui/pagination/pagination.tsx b/src/components/ui/pagination/pagination.tsx index 0a32682e0..f0e4f6b80 100644 --- a/src/components/ui/pagination/pagination.tsx +++ b/src/components/ui/pagination/pagination.tsx @@ -42,7 +42,8 @@ const StyledLink = styled.a<{ $disabled: boolean }>` $disabled && css` opacity: 50%; - cursor: default; + cursor: not-allowed; + pointer-events: none; `} &:hover { @@ -83,7 +84,7 @@ export const Pagination = ({ @@ -101,7 +102,7 @@ export const Pagination = ({ From aa3307d96eba586164091350a6793a9c06959c59 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Tue, 5 Dec 2023 16:49:05 +0100 Subject: [PATCH 05/21] fix: aria lable is now on the image and not the group feat: logos are now tab accessible --- src/components/pages/landingpage/customers.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/pages/landingpage/customers.tsx b/src/components/pages/landingpage/customers.tsx index 64e52dbd3..4f2d0f506 100644 --- a/src/components/pages/landingpage/customers.tsx +++ b/src/components/pages/landingpage/customers.tsx @@ -60,12 +60,8 @@ const CustomerLogo = ({ const CustomerLogoSVG = LogoSet[show]; return ( - - + + ); }; From e48ad84251e69ee9b5af796cab5dc7297643ae79 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Tue, 5 Dec 2023 17:23:26 +0100 Subject: [PATCH 06/21] feat: changed title of social links in footer, so it is clear that a new tab will open --- src/components/layout/navigation/navigation.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/layout/navigation/navigation.tsx b/src/components/layout/navigation/navigation.tsx index 6996f0ff7..7589293d0 100644 --- a/src/components/layout/navigation/navigation.tsx +++ b/src/components/layout/navigation/navigation.tsx @@ -35,8 +35,7 @@ const NavigationBackground = styled.div` const LegalLinks = styled.ul` list-style-type: none; align-self: end; - margin: 0; - margin-top: 24px; + margin: 24px 0 0; padding: 0; display: flex; @@ -212,7 +211,7 @@ const Navigation: React.FC = ({ target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/company/satellytes" - title="Go to the Satellytes LinkedIn profile" + title="Open Satellytes LinkedIn profile in a new tab" > @@ -221,7 +220,7 @@ const Navigation: React.FC = ({ Date: Tue, 5 Dec 2023 17:39:33 +0100 Subject: [PATCH 07/21] feat: font for language-switch and legal links get bigger on mobile devices --- src/components/layout/header/language-switch.tsx | 4 ++++ src/components/layout/navigation/navigation.tsx | 4 ++++ src/components/typography.ts | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/layout/header/language-switch.tsx b/src/components/layout/header/language-switch.tsx index a71c0ff5b..77eb2cb1c 100644 --- a/src/components/layout/header/language-switch.tsx +++ b/src/components/layout/header/language-switch.tsx @@ -31,6 +31,10 @@ const StyledSelection = styled.select` appearance: none; cursor: pointer; + + @media (max-width: 768px) { + ${TextStyles.menuMetaMobile} + } `; export const StyledChevron = styled(Icon)<{ isEnglish: boolean }>` diff --git a/src/components/layout/navigation/navigation.tsx b/src/components/layout/navigation/navigation.tsx index 7589293d0..d30a31f2c 100644 --- a/src/components/layout/navigation/navigation.tsx +++ b/src/components/layout/navigation/navigation.tsx @@ -113,6 +113,10 @@ const LegalLink = styled(Link)<{ $isSelected: boolean }>` &:hover { color: ${theme.palette.text.defaultLight}; } + + @media (max-width: 768px) { + ${TextStyles.menuMetaMobile} + } `; /** diff --git a/src/components/typography.ts b/src/components/typography.ts index 889fe65b6..54bb778a7 100644 --- a/src/components/typography.ts +++ b/src/components/typography.ts @@ -123,12 +123,17 @@ export const TextStyles = { letter-spacing: -0.01em; `, - // MenuLaguage has the exact same configuration as MenuMeta + // MenuLanguage has the exact same configuration as MenuMeta menuMeta: css` font-weight: bold; font-size: 14px; line-height: 110%; `, + menuMetaMobile: css` + font-weight: bold; + font-size: 18px; + line-height: 110%; + `, label: css` font-weight: normal; font-size: 13px; From e0e3cfc9394cebf55707e09602ca9e2b974b90d1 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Mon, 11 Dec 2023 16:23:55 +0100 Subject: [PATCH 08/21] feat: add aria label to homepage backlink in header --- src/components/layout/header/header.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/layout/header/header.tsx b/src/components/layout/header/header.tsx index 021f10eeb..f404b2f17 100644 --- a/src/components/layout/header/header.tsx +++ b/src/components/layout/header/header.tsx @@ -173,6 +173,7 @@ const Header: React.FC = (props) => { {props.siteTitle} From ad1afe2730fe74441cf9b092ad1dbb3044d18997 Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Mon, 11 Dec 2023 16:50:57 +0100 Subject: [PATCH 09/21] feat: slightly changed contrast between timestamps and background --- src/components/layout/theme.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/theme.tsx b/src/components/layout/theme.tsx index 9ba15dc25..75826ea31 100644 --- a/src/components/layout/theme.tsx +++ b/src/components/layout/theme.tsx @@ -18,7 +18,7 @@ export const theme: DefaultTheme = { defaultDark: '#FFFFFF', secondary: 'rgba(32,40,64,0.5)', topline: '#3E61EE', - timestamp: 'rgba(0, 0, 0, 0.5)', + timestamp: 'rgba(0, 0, 0, 0.65)', errorMessage: '#FF0D35', header: { default: '#FFFFFF', From a55916925dbb18b9a88a79170616dc60bd442f9e Mon Sep 17 00:00:00 2001 From: "noa.santo" Date: Mon, 11 Dec 2023 17:10:14 +0100 Subject: [PATCH 10/21] =?UTF-8?q?feat:=20made=20"=C2=B7"=20between=20legal?= =?UTF-8?q?=20links=20
  • =20instead=20of=20=20because=20it's=20in?= =?UTF-8?q?=20a=20
      ?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/navigation/navigation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/navigation/navigation.tsx b/src/components/layout/navigation/navigation.tsx index d30a31f2c..0490b555c 100644 --- a/src/components/layout/navigation/navigation.tsx +++ b/src/components/layout/navigation/navigation.tsx @@ -244,7 +244,7 @@ const Navigation: React.FC = ({ {t('navigation.imprint')} - · +
    • ·
    • Date: Mon, 11 Dec 2023 17:17:36 +0100 Subject: [PATCH 11/21] feat: moved aria label from nav to select element on the language select to make it easier for screen reader users --- src/components/layout/header/language-switch.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/layout/header/language-switch.tsx b/src/components/layout/header/language-switch.tsx index 77eb2cb1c..f267a39db 100644 --- a/src/components/layout/header/language-switch.tsx +++ b/src/components/layout/header/language-switch.tsx @@ -49,13 +49,14 @@ export const LanguageSwitch = ({ const { languages, language, t, changeLanguage } = useI18next(); return ( - + { changeLanguage(event.target.value); }} value={language} + aria-label={t('navigation.language-aria')} > {languages.map((languageOfLink) => (