From 3b0748a9d4d1e23b12b4637127e5e2467186af9b Mon Sep 17 00:00:00 2001 From: Alexandre Vryghem Date: Tue, 26 Dec 2023 11:26:08 +0100 Subject: [PATCH] Fixed dropdown accessibility issue - Removed non-existing dropdownMenuButton references - Added appropriate roles to dropdown menus --- ...space-new-external-dropdown.component.html | 4 +-- ...ace-new-submission-dropdown.component.html | 4 +-- .../collection-dropdown.component.html | 22 +++++++++------- .../collection-dropdown.component.scss | 3 ++- .../shared/ds-select/ds-select.component.html | 2 +- .../entity-dropdown.component.html | 26 ++++++++++--------- .../entity-dropdown.component.scss | 10 ++++--- .../entity-dropdown.component.spec.ts | 2 +- .../lookup/dynamic-lookup.component.html | 1 - .../submission-form-collection.component.html | 2 +- src/assets/i18n/en.json5 | 2 ++ 11 files changed, 44 insertions(+), 34 deletions(-) diff --git a/src/app/my-dspace-page/my-dspace-new-submission/my-dspace-new-external-dropdown/my-dspace-new-external-dropdown.component.html b/src/app/my-dspace-page/my-dspace-new-submission/my-dspace-new-external-dropdown/my-dspace-new-external-dropdown.component.html index 392134dbce5..23438c205f3 100644 --- a/src/app/my-dspace-page/my-dspace-new-submission/my-dspace-new-external-dropdown/my-dspace-new-external-dropdown.component.html +++ b/src/app/my-dspace-page/my-dspace-new-submission/my-dspace-new-external-dropdown/my-dspace-new-external-dropdown.component.html @@ -15,10 +15,10 @@ [attr.data-test]="'import-dropdown' | dsBrowserOnly" title="{{'mydspace.new-submission-external' | translate}}"> - +