From b8e1d12aea6ebe81317b878c497d305276796949 Mon Sep 17 00:00:00 2001 From: Cyril Date: Fri, 20 Mar 2026 12:14:55 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F(frontend)=20add=20aria-hidde?= =?UTF-8?q?n=20to=20decorative=20icons=20in=20dropdown=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mark decorative SVG icons with aria-hidden. --- CHANGELOG.md | 1 + .../components/dropdown-menu/DropdownMenu.tsx | 1 - .../docs/doc-header/components/DocToolBox.tsx | 22 +++++++++---------- .../docs-grid/components/DocsGridActions.tsx | 12 +++++----- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b22f544c..79070d28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to - 💄(frontend) improve comments highlights #1961 - ♿️(frontend) improve BoxButton a11y and native button semantics #2103 - ♿️(frontend) improve language picker accessibility #2069 +- ♿️(frontend) add aria-hidden to decorative icons in dropdown menu #2093 ### Fixed diff --git a/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx b/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx index 73adb5cd..25936223 100644 --- a/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx +++ b/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx @@ -275,7 +275,6 @@ export const DropdownMenu = ({ diff --git a/src/frontend/apps/impress/src/features/docs/doc-header/components/DocToolBox.tsx b/src/frontend/apps/impress/src/features/docs/doc-header/components/DocToolBox.tsx index 33f19bb2..baff5461 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-header/components/DocToolBox.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-header/components/DocToolBox.tsx @@ -118,13 +118,13 @@ export const DocToolBox = ({ doc }: DocToolBoxProps) => { const options: DropdownMenuOption[] = [ { label: t('Share'), - icon: , + icon: