From a6c5e47b54fc9daa5088fe6d1b6aaa6dc5ea642d Mon Sep 17 00:00:00 2001 From: Bas Doppen Date: Fri, 21 Jun 2024 12:09:41 +0200 Subject: [PATCH 1/3] new branch for accessibility --- .../src/app/[locale]/communities/[slug]/page.tsx | 13 +++++++++++-- .../src/app/[locale]/communities/page.tsx | 4 +++- .../objects/[id]/(provenance)/data-table.tsx | 8 +++++--- .../[locale]/objects/[id]/(provenance)/overview.tsx | 4 ++-- .../[id]/local-contexts-notices/overview.tsx | 9 +++++++-- .../src/app/[locale]/objects/[id]/metadata.tsx | 6 +++--- .../src/app/[locale]/objects/[id]/page.tsx | 11 ++++++++--- .../src/app/[locale]/objects/[id]/provided-by.tsx | 6 +++--- .../[locale]/objects/[id]/user-enrichment-form.tsx | 3 ++- .../app/[locale]/objects/heritage-object-card.tsx | 1 - apps/researcher/src/messages/en/messages.json | 7 ++++--- apps/researcher/src/messages/nl/messages.json | 3 ++- 12 files changed, 50 insertions(+), 25 deletions(-) diff --git a/apps/researcher/src/app/[locale]/communities/[slug]/page.tsx b/apps/researcher/src/app/[locale]/communities/[slug]/page.tsx index 38b08c4dd..79d2a24a1 100644 --- a/apps/researcher/src/app/[locale]/communities/[slug]/page.tsx +++ b/apps/researcher/src/app/[locale]/communities/[slug]/page.tsx @@ -106,7 +106,10 @@ export default async function CommunityPage({params}: Props) {
-

+

{t('title')} {community.name}

@@ -147,7 +150,13 @@ export default async function CommunityPage({params}: Props) {
-

{t('objectListsTitle')}

+

+ {t('objectListsTitle')} +

{objectLists.length > 0 && (

{t('objectListsSubTitle', {count: objectLists.length})}

)} diff --git a/apps/researcher/src/app/[locale]/communities/page.tsx b/apps/researcher/src/app/[locale]/communities/page.tsx index b84b90b8e..d43bd4909 100644 --- a/apps/researcher/src/app/[locale]/communities/page.tsx +++ b/apps/researcher/src/app/[locale]/communities/page.tsx @@ -71,7 +71,9 @@ export default async function CommunitiesPage({searchParams = {}}: Props) {
-

{t('title')}

+

+ {t('title')} +

{t('pageDescription')}

diff --git a/apps/researcher/src/app/[locale]/objects/[id]/(provenance)/data-table.tsx b/apps/researcher/src/app/[locale]/objects/[id]/(provenance)/data-table.tsx index 541412049..a774dc724 100644 --- a/apps/researcher/src/app/[locale]/objects/[id]/(provenance)/data-table.tsx +++ b/apps/researcher/src/app/[locale]/objects/[id]/(provenance)/data-table.tsx @@ -30,7 +30,9 @@ export default function DataTable() { return (
-

{t('dataTableTitle')}

+

+ {t('dataTableTitle')} +

{selectedEvents.length > 0 && (