From b7d06d94bdd99adcb8f16ceb9c6e577194956e63 Mon Sep 17 00:00:00 2001 From: RiteshHMCTS <74713687+RiteshHMCTS@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:35:47 +0100 Subject: [PATCH] Revert "Ex UI 1270 accessibility bug fixes (#1693)" (#1764) This reverts commit 20adac85ab7e0987f9ff565ad5748410f445aa11. --- RELEASE-NOTES.md | 4 - package.json | 2 +- projects/ccd-case-ui-toolkit/package.json | 2 +- .../case-full-access-view.component.html | 93 +++++++++---------- .../palette/base-field/field-read.html | 2 +- .../collection/read-collection-field.html | 2 +- .../complex/read-complex-field-table.html | 6 +- .../multi-select-list/multi-select-list.scss | 5 - ...-multi-select-list-field.component.spec.ts | 11 ++- .../read-multi-select-list-field.html | 5 +- .../search-result.component.html | 4 +- 11 files changed, 63 insertions(+), 73 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index c68b120b0c..abae9ed77e 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,9 +1,5 @@ ## RELEASE NOTES -### Version 7.0.59 -**EXUI-1270** Accessibility Issue -**EXUI-1504** Accessibility Issue - ### Version 7.0.58 **EXUI-2235** add event name in task completion log diff --git a/package.json b/package.json index 99d9746a06..f447a4ce97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hmcts/ccd-case-ui-toolkit", - "version": "7.0.59", + "version": "7.0.58", "engines": { "node": ">=18.19.0" }, diff --git a/projects/ccd-case-ui-toolkit/package.json b/projects/ccd-case-ui-toolkit/package.json index ce97fb6cee..6d3f8c0fa5 100644 --- a/projects/ccd-case-ui-toolkit/package.json +++ b/projects/ccd-case-ui-toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@hmcts/ccd-case-ui-toolkit", - "version": "7.0.59", + "version": "7.0.58", "engines": { "node": ">=18.19.0" }, diff --git a/projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.html b/projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.html index c595ef1f55..22d5dcb4e2 100644 --- a/projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.html +++ b/projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.html @@ -1,6 +1,6 @@
-
- {{field.label | rpxTranslate}}​
- |
-
-
- |
-
---|---|
-
- |
- |
+
+ {{field.label | rpxTranslate}}
+ |
+
+
+ |
+
+
+ |
+
{{field.label | rpxTranslate}}​ | +{{field.label | rpxTranslate}} |
for accessibilty reasons. At least 1 item always present
+
+ expect(de.children.length).toBe(0);
});
it('should NOT render anything when value is null', () => {
- component.caseField.value = [];
+ component.caseField.value = null;
fixture.detectChanges();
- expect(de?.children?.length).toBe(1); // ​ has been added to every | for accessibilty reasons. At least 1 item always present
+ expect(de.children.length).toBe(0);
});
it('should NOT render anything when value is empty array', () => {
component.caseField.value = [];
fixture.detectChanges();
- expect(de.children.length).toBe(1); // ​ has been added to every | for accessibilty reasons. At least 1 item always present
+ expect(de.children.length).toBe(0);
});
});
diff --git a/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.html b/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.html
index ca96627655..18cb74a6a5 100644
--- a/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.html
+++ b/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.html
@@ -1,9 +1,8 @@
- |
|
---|