From bbd7d7251942547582df13452a8b5801722795ad Mon Sep 17 00:00:00 2001 From: Caleb Cox Date: Fri, 25 Oct 2024 15:07:22 -0500 Subject: [PATCH 1/8] Add label to session modal --- src/common/services/session/sessionModal.service.js | 1 + src/common/services/session/sessionModal.tpl.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/services/session/sessionModal.service.js b/src/common/services/session/sessionModal.service.js index ef8315761..e7843a3fc 100644 --- a/src/common/services/session/sessionModal.service.js +++ b/src/common/services/session/sessionModal.service.js @@ -27,6 +27,7 @@ const SessionModalService = /* @ngInject */ function ($uibModal, $log, modalStat component: sessionModalComponent.name, size: 'sm', windowTemplateUrl: sessionModalWindowTemplate, + ariaLabelledBy: 'session-modal-title', resolve: { state: () => type } diff --git a/src/common/services/session/sessionModal.tpl.html b/src/common/services/session/sessionModal.tpl.html index 8b85f11c4..94ae05fc6 100644 --- a/src/common/services/session/sessionModal.tpl.html +++ b/src/common/services/session/sessionModal.tpl.html @@ -6,7 +6,7 @@
-
+

{{$ctrl.modalTitle | translate}}

From e817670db847aa7fb87db2c71f0b2f12cd942544 Mon Sep 17 00:00:00 2001 From: Caleb Cox Date: Fri, 25 Oct 2024 15:32:56 -0500 Subject: [PATCH 2/8] Add context to Give a Gift buttons in search results --- src/app/productConfig/productConfig.component.js | 1 + src/app/productConfig/productConfig.tpl.html | 2 +- src/app/searchResults/searchResults.tpl.html | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/productConfig/productConfig.component.js b/src/app/productConfig/productConfig.component.js index 8441782ef..43945190b 100644 --- a/src/app/productConfig/productConfig.component.js +++ b/src/app/productConfig/productConfig.component.js @@ -46,6 +46,7 @@ export default angular campaignCode: '@', campaignPage: '@', productCode: '@', + describedBy: '@', buttonLabel: '@', buttonSize: '@' } diff --git a/src/app/productConfig/productConfig.tpl.html b/src/app/productConfig/productConfig.tpl.html index 95a1882ee..574699db6 100644 --- a/src/app/productConfig/productConfig.tpl.html +++ b/src/app/productConfig/productConfig.tpl.html @@ -1,3 +1,3 @@ - diff --git a/src/app/searchResults/searchResults.tpl.html b/src/app/searchResults/searchResults.tpl.html index 55dc0b209..41d171e28 100644 --- a/src/app/searchResults/searchResults.tpl.html +++ b/src/app/searchResults/searchResults.tpl.html @@ -129,14 +129,14 @@

- {{r.name}} + {{r.name}} #{{r.designationNumber}}

From f307e2a5c338f0a6e4d3556fca1c3714498398ee Mon Sep 17 00:00:00 2001 From: Caleb Cox Date: Fri, 25 Oct 2024 16:03:39 -0500 Subject: [PATCH 3/8] Add labels to product config month, day, and textareas --- .../productConfigForm/productConfigForm.tpl.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/app/productConfig/productConfigForm/productConfigForm.tpl.html b/src/app/productConfig/productConfigForm/productConfigForm.tpl.html index 41b705b36..29485f301 100644 --- a/src/app/productConfig/productConfigForm/productConfigForm.tpl.html +++ b/src/app/productConfig/productConfigForm/productConfigForm.tpl.html @@ -180,26 +180,26 @@

- -
+
+
- -
+
+
@@ -227,12 +227,13 @@

tabindex="-1" ng-click="$ctrl.showRecipientComments = !$ctrl.showRecipientComments" translate='SEND_MESSAGE_TO' - translate-values="{ministry: $ctrl.productData.displayName}"> + translate-values="{ministry: $ctrl.productData.displayName}">