Incorporates the option to use i18n for screen-reader only text regarding the status of each step in the StepIndicator. Updates tests and storybook.
Related Issues or PRs
Closes #2857
How To Test
yarn storybook
In the 'Controls', create a statusText object (ex. {complete: "completado", incomplete: "no completado"}).
Using a screen reader, listen to the stated status of each step.
AND/OR
Look at the source code in the developer tools for each of the steps and see the sr-only element with the applied status text.
Summary
Incorporates the option to use i18n for screen-reader only text regarding the status of each step in the StepIndicator. Updates tests and storybook.
Related Issues or PRs
Closes #2857
How To Test
yarn storybook
In the 'Controls', create a
statusText
object (ex. {complete: "completado", incomplete: "no completado"}). Using a screen reader, listen to the stated status of each step. AND/OR Look at the source code in the developer tools for each of the steps and see the sr-only element with the applied status text.Screenshots (optional)