From 0f984d6832dfa48550fa788f52ab1671a51bc0d5 Mon Sep 17 00:00:00 2001 From: Cyril Date: Fri, 12 Jun 2026 10:58:14 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F(frontend)=20link=20export=20?= =?UTF-8?q?modal=20name=20to=20its=20heading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Link aria-describedby to modal description, not title --- CHANGELOG.md | 1 + .../docs/doc-export/components/ModalExport.tsx | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aefb509a1..1968d8267 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to - ♿️(frontend) use heading element for pinned documents section title #2380 - ♿️(frontend) use anchor links for table of contents entries #2390 - ♿️(frontend) improve presenter mode screen reader and keyboard support #2383 +♿️(frontend) link export modal name to its heading #2422 ### Fixed diff --git a/src/frontend/apps/impress/src/features/docs/doc-export/components/ModalExport.tsx b/src/frontend/apps/impress/src/features/docs/doc-export/components/ModalExport.tsx index 34f161f79..6d36b9700 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-export/components/ModalExport.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-export/components/ModalExport.tsx @@ -219,8 +219,8 @@ export const ModalExport = ({ onClose, doc }: ModalExportProps) => { closeOnClickOutside onClose={() => onClose()} hideCloseButton - aria-label={t('Export')} - aria-describedby="modal-export-title" + aria-labelledby="modal-export-title" + aria-describedby="modal-export-description" rightActions={ <>