From 14deca13f4c89bf9ae110e298549a731d778ae6f Mon Sep 17 00:00:00 2001 From: daproclaima Date: Thu, 1 Aug 2024 13:40:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8(frontend)=20improve=20screen=20rea?= =?UTF-8?q?ding=20navigation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add aria-hidden and empty alt attributes for screen readers to ignore decorative svg and images. - remove icon from input field used to name a group - update translations - update related e2e and components tests --- .../apps/desk/src/features/footer/Footer.tsx | 4 ++-- .../src/features/header/AccountDropdown.tsx | 8 ++++++-- .../apps/desk/src/features/header/Header.tsx | 2 +- .../src/features/language/LanguagePicker.tsx | 4 ++-- .../components/MailDomainsContent.tsx | 2 +- .../mail-domains/components/panel/Panel.tsx | 2 +- .../components/panel/PanelActions.tsx | 6 +----- .../mail-domains/components/panel/PanelItem.tsx | 4 +--- .../apps/desk/src/features/menu/MenuItems.tsx | 2 +- .../member-add/components/ModalAddMembers.tsx | 6 +++++- .../components/MemberAction.tsx | 12 ++++++++++-- .../components/ModalDelete.tsx | 2 +- .../components/CardCreateTeam.tsx | 2 +- .../components/InputTeamName.tsx | 1 - .../components/ModalRemoveTeam.tsx | 8 ++++++-- .../components/ModalUpdateTeam.tsx | 6 +++++- .../team-management/components/TeamActions.tsx | 12 ++++++++++-- .../team-management/components/TeamInfo.tsx | 2 +- .../teams-panel/__tests__/PanelTeams.test.tsx | 12 +++--------- .../teams-panel/components/PanelActions.tsx | 4 ++-- .../teams/teams-panel/components/TeamItem.tsx | 4 ++-- .../apps/desk/src/i18n/translations.json | 17 +++++------------ src/frontend/apps/desk/src/pages/404.tsx | 2 +- .../apps/e2e/__tests__/app-desk/common.ts | 2 +- .../apps/e2e/__tests__/app-desk/header.spec.ts | 5 +++-- .../__tests__/app-desk/member-create.spec.ts | 10 ++++++---- .../__tests__/app-desk/member-delete.spec.ts | 14 +++++++++----- .../apps/e2e/__tests__/app-desk/team.spec.ts | 2 -- .../e2e/__tests__/app-desk/teams-create.spec.ts | 2 -- 29 files changed, 87 insertions(+), 72 deletions(-) diff --git a/src/frontend/apps/desk/src/features/footer/Footer.tsx b/src/frontend/apps/desk/src/features/footer/Footer.tsx index ee9a229..9d92364 100644 --- a/src/frontend/apps/desk/src/features/footer/Footer.tsx +++ b/src/frontend/apps/desk/src/features/footer/Footer.tsx @@ -83,7 +83,7 @@ export const Footer = () => { `} > {label} - +