diff --git a/src/app/shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.ts b/src/app/shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.ts
index 1fe93a3a2a7..2ec5cee7a6e 100644
--- a/src/app/shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.ts
+++ b/src/app/shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.ts
@@ -34,6 +34,11 @@ export class SidebarSearchListElementComponent, K exte
*/
description: string;
+ /**
+ * Language of the description metadata value, used for the lang attribute.
+ */
+ descriptionLang: string | null = null;
+
expandable = false;
expanded = false;
private truncatedStates: Map = new Map();
@@ -56,6 +61,7 @@ export class SidebarSearchListElementComponent, K exte
if (hasValue(this.dso)) {
this.parentTitle$ = this.getParentHierarchyTitle();
this.description = this.getDescription();
+ this.descriptionLang = this.getDescriptionLang();
}
}
@@ -154,6 +160,15 @@ export class SidebarSearchListElementComponent, K exte
return this.undefinedIfEmpty(description);
}
+ /**
+ * Get the language of the description metadata value.
+ * Override in subclasses to return the language of the displayed description.
+ * Default: null (no lang attribute rendered)
+ */
+ getDescriptionLang(): string | null {
+ return null;
+ }
+
/**
* Return undefined if the provided string is empty
* @param value Value to check
From 0e1c1c8622ed48e9dbb3dfd27bfa17fda832b7a7 Mon Sep 17 00:00:00 2001
From: amadulhaxxani
Date: Tue, 14 Apr 2026 12:34:07 +0200
Subject: [PATCH 2/5] Improve accessibility: add ARIA labels & i18n keys
Add ARIA attributes and move icon markup to improve screen-reader support across several components. Updated templates to include aria-label on interactive buttons (info, calendar, remove/save/delete/clear actions) and aria-hidden on decorative icons. Adjusted calendar button markup to place the calendar icon inside the button element. Added corresponding i18n keys in many locale JSON5 files so the new labels are translatable (English provided and placeholder entries added across locales; some locales include TODO notes for translation). These changes are focused on accessibility and localization support.
---
.../item-delete/item-delete.component.html | 3 ++-
.../views-downloads-statistics.component.html | 4 ++--
.../access-control-array-form.component.html | 8 ++++++--
.../existing-relation-list-element.component.html | 1 +
.../relation-group/dynamic-relation-group.component.html | 3 +++
.../submission-section-cc-licenses.component.html | 3 ++-
src/assets/i18n/cs.json5 | 9 +++++++++
src/assets/i18n/en.json5 | 8 ++++++++
8 files changed, 33 insertions(+), 6 deletions(-)
diff --git a/src/app/item-page/edit-item-page/item-delete/item-delete.component.html b/src/app/item-page/edit-item-page/item-delete/item-delete.component.html
index 25780d989c0..07cec551193 100644
--- a/src/app/item-page/edit-item-page/item-delete/item-delete.component.html
+++ b/src/app/item-page/edit-item-page/item-delete/item-delete.component.html
@@ -38,8 +38,9 @@
diff --git a/src/assets/i18n/cs.json5 b/src/assets/i18n/cs.json5
index ac5476fd0db..e29f886f35e 100644
--- a/src/assets/i18n/cs.json5
+++ b/src/assets/i18n/cs.json5
@@ -8587,6 +8587,15 @@
"access-control-option-end-date": "Povolit přístup do",
// "access-control-option-end-date-note": "Select the date until which the related access condition is applied",
+
+ "item.delete.virtual-metadata.info": "Show virtual metadata information",
+ "access-control.start-date.calendar-button": "Open start date calendar",
+ "access-control.end-date.calendar-button": "Open end date calendar",
+ "form.remove-related-item": "Remove related item",
+ "form.relation-group.save": "Save relation group",
+ "form.relation-group.delete": "Delete relation group",
+ "form.relation-group.clear": "Clear relation group",
+ "submission.cc-license.field-info": "More information about this license field",
"access-control-option-end-date-note": "Vyberte datum, do kterého má být typ přístupu aktivován",
// "vocabulary-treeview.search.form.add": "Add",
diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5
index 472f95c978e..e14f129abd5 100644
--- a/src/assets/i18n/en.json5
+++ b/src/assets/i18n/en.json5
@@ -5690,6 +5690,14 @@
"access-control-option-end-date-note": "Select the date until which the related access condition is applied",
+ "item.delete.virtual-metadata.info": "Show virtual metadata information",
+ "access-control.start-date.calendar-button": "Open start date calendar",
+ "access-control.end-date.calendar-button": "Open end date calendar",
+ "form.remove-related-item": "Remove related item",
+ "form.relation-group.save": "Save relation group",
+ "form.relation-group.delete": "Delete relation group",
+ "form.relation-group.clear": "Clear relation group",
+ "submission.cc-license.field-info": "More information about this license field",
"vocabulary-treeview.search.form.add": "Add",
"process.overview.unknown.user": "Unknown",
From 06d2c0fd9bd17d2fc0747ea66581412e7293ee7d Mon Sep 17 00:00:00 2001
From: amadulhaxxani
Date: Wed, 15 Apr 2026 14:02:02 +0200
Subject: [PATCH 3/5] Improve accessibility and semantic headings
Replace several presentational heading tags with semantically appropriate heading levels (convert h4/h3/h5/h6 to h2/h3 with existing styling classes) across home, footer and item templates to improve document structure. Add aria-hidden to the hidden repository link and aria-live/aria-atomic to the pagination info for better accessibility. Update footer markup to group links into separate ULs (removing BRs) and adjust SCSS selectors to target both heading elements and .h4 class, plus spacing for stacked lists. Also add TranslateModule.forRoot() to an existing-relation-list-element spec to satisfy translations in tests.
---
.../clarin-navbar-top.component.html | 2 +-
src/app/footer/footer.component.html | 12 +++++++-----
src/app/footer/footer.component.scss | 14 +++++++++++---
src/app/home-page/home-page.component.html | 14 +++++++-------
.../clarin-files-section.component.html | 2 +-
...xisting-relation-list-element.component.spec.ts | 2 ++
.../shared/pagination/pagination.component.html | 2 +-
7 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/src/app/clarin-navbar-top/clarin-navbar-top.component.html b/src/app/clarin-navbar-top/clarin-navbar-top.component.html
index 5b7de122232..1aa30c6ada6 100644
--- a/src/app/clarin-navbar-top/clarin-navbar-top.component.html
+++ b/src/app/clarin-navbar-top/clarin-navbar-top.component.html
@@ -16,7 +16,7 @@