From 20724bb85dc601c6fe67a818ae430df37a55ee06 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Tue, 6 Oct 2026 16:32:28 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F(frontend)=20improve=20the=20?= =?UTF-8?q?accessibility=20of=20the=20upload=20loader=20block?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The loader used Card, adding an unnamed region per upload, and neither the analysis start nor the antivirus warning was announced. Use Box again, announce both through announce(), hide the decorative warning icon and keep upload error toasts 10s so the cause can be read. --- .../docs/doc-editor/assets/warning.svg | 1 + .../custom-blocks/UploadLoaderBlock.tsx | 18 +++++++++++------ .../hook/__tests__/useUploadFile.test.tsx | 2 ++ .../docs/doc-editor/hook/useUploadFile.tsx | 20 ++++++++++++++++--- 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/assets/warning.svg b/src/frontend/apps/impress/src/features/docs/doc-editor/assets/warning.svg index 531a6260b..0c6122324 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/assets/warning.svg +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/assets/warning.svg @@ -1,5 +1,6 @@