From c6c660146657c5cb8009544989b5740c9340a579 Mon Sep 17 00:00:00 2001 From: Josiah Ivey Date: Wed, 1 May 2024 11:37:47 -0700 Subject: [PATCH] update progress bar wording --- src/components/ProgressBar.tsx | 2 +- .../__snapshots__/ProgressBar.spec.tsx.snap | 36 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/components/ProgressBar.tsx b/src/components/ProgressBar.tsx index b8f37ed..cb8f8cf 100644 --- a/src/components/ProgressBar.tsx +++ b/src/components/ProgressBar.tsx @@ -136,7 +136,7 @@ export const ProgressBarItem = ({in isActive={isActive} onClick={() => goToStep(index, step)} aria-current={isActive ? 'location' : 'false'} - aria-label={step.variant === 'isStatus' ? 'Assignment status' : `Step ${index + 1}` } + aria-label={step.variant === 'isStatus' ? 'Assignment status' : `Question ${index + 1}` } > {step.variant === 'isStatus' ? : index + 1} diff --git a/src/components/__snapshots__/ProgressBar.spec.tsx.snap b/src/components/__snapshots__/ProgressBar.spec.tsx.snap index df598f3..69b3962 100644 --- a/src/components/__snapshots__/ProgressBar.spec.tsx.snap +++ b/src/components/__snapshots__/ProgressBar.spec.tsx.snap @@ -10,7 +10,7 @@ exports[`ProgressBar matches snapshot 1`] = ` >