From 278eb233e975679a4457178509059810f24c27ae Mon Sep 17 00:00:00 2001 From: Cyril Date: Tue, 14 Oct 2025 09:03:27 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20add=20missing=20aria-labe?= =?UTF-8?q?l=20to=20add=20sub-doc=20button=20for=20a11y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit improves screen reader support for the add sub-doc action in the document tree Signed-off-by: Cyril --- CHANGELOG.md | 5 +++++ .../features/docs/doc-tree/components/DocTreeItemActions.tsx | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8448152..b069d5a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to ## [Unreleased] +### Changed + +- ♿(frontend) improve accessibility: + - ♿ add missing aria-label to add sub-doc button for accessib… #1480 + ## [3.8.0] - 2025-10-14 ### Added diff --git a/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTreeItemActions.tsx b/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTreeItemActions.tsx index b6039bb3..3089c5f9 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTreeItemActions.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTreeItemActions.tsx @@ -178,6 +178,7 @@ export const DocTreeItemActions = ({ }); }} color="primary" + aria-label={t('Add a sub page')} data-testid="doc-tree-item-actions-add-child" >