From ba9ee763e0726633ebb5c958c572a0ec89c5e052 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 18 Dec 2025 14:01:59 -0500 Subject: [PATCH] Updates for sub caption on textbox Some welcome css for need help blurb --- .../textbox-question/textbox-question.spec.js | 2 +- .../textbox-question/textbox-question.vue | 8 ++++++-- src/helpers/text-helper.js | 6 ++++++ src/layouts/welcome-page/welcome-page.vue | 2 +- src/styles/common-styles.scss | 8 ++++++++ 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/digital-components/textbox-question/textbox-question.spec.js b/src/digital-components/textbox-question/textbox-question.spec.js index fef8bca5..5e6765b2 100644 --- a/src/digital-components/textbox-question/textbox-question.spec.js +++ b/src/digital-components/textbox-question/textbox-question.spec.js @@ -686,7 +686,7 @@ describe('TextboxQuestion', () => { }); // Assert - expect(wrapper.vm.questionText).toBe(cmsContent); + expect(wrapper.vm.questionTextForAria).toBe(cmsContent); }); describe('"value" should', () => { test('get the modelValue prop', () => { diff --git a/src/digital-components/textbox-question/textbox-question.vue b/src/digital-components/textbox-question/textbox-question.vue index 31402629..6058fd52 100644 --- a/src/digital-components/textbox-question/textbox-question.vue +++ b/src/digital-components/textbox-question/textbox-question.vue @@ -5,7 +5,7 @@ @@ -29,7 +29,7 @@ :aria-disabled="isDisabled" :disabled="isDisabled" :aria-required="isRequired" - :aria-label="questionText" + :aria-label="questionTextForAria" :min="min" :max="max" :required="isRequired" @@ -72,6 +72,7 @@