From 1172fbe0b52165afe4689c06dda37e01d4956f44 Mon Sep 17 00:00:00 2001 From: Cyril Date: Mon, 16 Mar 2026 16:03:43 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F(frontend)=20add=20nb=20acces?= =?UTF-8?q?ses=20in=20share=20button=20aria-label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Expose nb_accesses_direct to screen readers when share button shows count. --- CHANGELOG.md | 3 ++- .../src/features/docs/doc-header/components/BoutonShare.tsx | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60c732c6ad..201cf7b9f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,12 @@ and this project adheres to ### Changed - ♿️(frontend) ensure doc title is h1 for accessibility #2006 +- ♿️(frontend) add nb accesses in share button aria-label #2017 ### Fixed - 🐛(frontend) fix image resizing when caption #2045 -- 🙈(docker) add **/.next to .dockerignore #2034 +- 🙈(docker) add \*\*/.next to .dockerignore #2034 - ♿️(frontend) fix share modal heading hierarchy #2007 - ♿️(frontend) fix Copy link toast accessibility for screen readers #2029 - ♿️(frontend) fix modal aria-label and name #2014 diff --git a/src/frontend/apps/impress/src/features/docs/doc-header/components/BoutonShare.tsx b/src/frontend/apps/impress/src/features/docs/doc-header/components/BoutonShare.tsx index 1a7f577b8e..a5c9177b4d 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-header/components/BoutonShare.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-header/components/BoutonShare.tsx @@ -55,7 +55,9 @@ export const BoutonShare = ({ `} >