From e2298a3658af54568cc9ec76bd925e0a5e40fd80 Mon Sep 17 00:00:00 2001 From: Cyril Date: Tue, 14 Oct 2025 09:28:50 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20add=20missing=20aria-labe?= =?UTF-8?q?l=20to=20more=20options=20button=20on=20sub-docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit improves accessibility by making the options button screen reader friendly Signed-off-by: Cyril --- CHANGELOG.md | 1 + .../features/docs/doc-tree/components/DocTreeItemActions.tsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b069d5a1..9dd8ba06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to - ♿(frontend) improve accessibility: - ♿ add missing aria-label to add sub-doc button for accessib… #1480 + - ♿ add missing aria-label to more options button on sub-docs #1481 ## [3.8.0] - 2025-10-14 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 3089c5f9..0ed7b8b7 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 @@ -152,7 +152,6 @@ export const DocTreeItemActions = ({ options={options} isOpen={isOpen} onOpenChange={onOpenChange} - aria-label={t('Open document actions menu')} > { @@ -164,7 +163,7 @@ export const DocTreeItemActions = ({ variant="filled" $theme="primary" $variation="600" - aria-hidden="true" + aria-label={t('More options')} /> {doc.abilities.children_create && (