From 1e39d17914ebbd4c361b7ff83a3a64ae8d134fcd Mon Sep 17 00:00:00 2001 From: Cyril Date: Wed, 17 Sep 2025 08:14:30 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20improve=20accessibility?= =?UTF-8?q?=20by=20adding=20landmark=20roles=20to=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit landmark roles help assistive tech users navigate quickly across the page Signed-off-by: Cyril --- CHANGELOG.md | 1 + src/frontend/apps/impress/src/features/footer/Footer.tsx | 7 ++++++- .../apps/impress/src/features/header/components/Header.tsx | 1 + .../impress/src/features/home/components/HomeContent.tsx | 1 + src/frontend/apps/impress/src/layouts/MainLayout.tsx | 1 + src/frontend/apps/impress/src/layouts/PageLayout.tsx | 1 + 6 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3e489dd8c..e4baabc461 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to - ♿(frontend) improve accessibility: - #1354 + - ♿ improve accessibility by adding landmark roles to layout #1394 ### Fixed diff --git a/src/frontend/apps/impress/src/features/footer/Footer.tsx b/src/frontend/apps/impress/src/features/footer/Footer.tsx index 6cef3ffe2d..f38246451a 100644 --- a/src/frontend/apps/impress/src/features/footer/Footer.tsx +++ b/src/frontend/apps/impress/src/features/footer/Footer.tsx @@ -56,7 +56,12 @@ export const Footer = () => { } return ( - + { return ( diff --git a/src/frontend/apps/impress/src/layouts/MainLayout.tsx b/src/frontend/apps/impress/src/layouts/MainLayout.tsx index facf5f87a0..29fad38e8f 100644 --- a/src/frontend/apps/impress/src/layouts/MainLayout.tsx +++ b/src/frontend/apps/impress/src/layouts/MainLayout.tsx @@ -34,6 +34,7 @@ export function MainLayout({