From 05347220051d85acb0f2a994c58bdb15f4d533af Mon Sep 17 00:00:00 2001 From: Alexandre Vryghem Date: Sun, 26 Nov 2023 21:28:12 +0100 Subject: [PATCH] Fix Bulk Access Management usability issues - Added aria-labels to trash icon - Added aria-labels ui-switch components (had to upgrade ngx-ui-switch to 14.1.0) - Fixed aria-controls pointing to non-existing ids - Fixed bulk-access-browse not having the tab role on it's tabs --- package.json | 2 +- .../browse/bulk-access-browse.component.html | 107 ++++++++++-------- .../bulk-access-settings.component.html | 10 +- .../access-control-array-form.component.html | 1 + ...cess-control-form-container.component.html | 2 + src/assets/i18n/en.json5 | 10 ++ yarn.lock | 8 +- 7 files changed, 81 insertions(+), 59 deletions(-) diff --git a/package.json b/package.json index 553962dfeb7..e5347742c8c 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "ngx-infinite-scroll": "^15.0.0", "ngx-pagination": "6.0.3", "ngx-sortablejs": "^11.1.0", - "ngx-ui-switch": "^14.0.3", + "ngx-ui-switch": "^14.1.0", "nouislider": "^15.7.1", "pem": "1.14.7", "prop-types": "^15.8.1", diff --git a/src/app/access-control/bulk-access/browse/bulk-access-browse.component.html b/src/app/access-control/bulk-access/browse/bulk-access-browse.component.html index c716aedb8b3..a48736355ff 100644 --- a/src/app/access-control/bulk-access/browse/bulk-access-browse.component.html +++ b/src/app/access-control/bulk-access/browse/bulk-access-browse.component.html @@ -1,15 +1,15 @@ -
-
-
+
+
@@ -17,51 +17,60 @@
- -
+
diff --git a/src/app/access-control/bulk-access/settings/bulk-access-settings.component.html b/src/app/access-control/bulk-access/settings/bulk-access-settings.component.html index 01f36ef03f4..5718e22b256 100644 --- a/src/app/access-control/bulk-access/settings/bulk-access-settings.component.html +++ b/src/app/access-control/bulk-access/settings/bulk-access-settings.component.html @@ -1,13 +1,13 @@ -
+
-
-
+
+
@@ -15,7 +15,7 @@
- + diff --git a/src/app/shared/access-control-form-container/access-control-array-form/access-control-array-form.component.html b/src/app/shared/access-control-form-container/access-control-array-form/access-control-array-form.component.html index cd56904bd7f..e6ebabd707b 100644 --- a/src/app/shared/access-control-form-container/access-control-array-form/access-control-array-form.component.html +++ b/src/app/shared/access-control-form-container/access-control-array-form/access-control-array-form.component.html @@ -92,6 +92,7 @@