From 3899801f6b91e17fdcad7c54bf80357c8e067458 Mon Sep 17 00:00:00 2001 From: Jim O'Donnell Date: Wed, 8 Jan 2025 12:29:31 +0000 Subject: [PATCH] fix(a11y): user select menu labels - fix 'Selected: [object Object]' in the labels for user dropdown menus. - add plain English labels for the project and date range menus. --- .../src/components/shared/MainContent/MainContent.js | 2 ++ .../components/shared/MainContent/MainContent.spec.js | 9 +++++++-- packages/lib-user/src/components/shared/Select/Select.js | 8 +++++--- packages/lib-user/src/translations/en.json | 2 ++ 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/packages/lib-user/src/components/shared/MainContent/MainContent.js b/packages/lib-user/src/components/shared/MainContent/MainContent.js index 9827887032..807c650c19 100644 --- a/packages/lib-user/src/components/shared/MainContent/MainContent.js +++ b/packages/lib-user/src/components/shared/MainContent/MainContent.js @@ -212,6 +212,7 @@ function MainContent({