diff --git a/packages/design-system/src/components/StepList/StepList.tsx b/packages/design-system/src/components/StepList/StepList.tsx index ac5b954f06..11ac4c5720 100644 --- a/packages/design-system/src/components/StepList/StepList.tsx +++ b/packages/design-system/src/components/StepList/StepList.tsx @@ -31,11 +31,6 @@ export interface StepListProps { * the substring `%{step}` is replaced with that step's `heading`. */ actionsLabelText?: string; - /** - * A template string for the aria-label for a step's description where - * the substring `%{step}` is replaced with that step's `heading`. - */ - descriptionLabelText?: string; /** * A template string for the aria-label describing a step's substeps where * the substring `%{step}` is replaced with that step's `heading`. @@ -52,7 +47,6 @@ export const StepList = ({ resumeText = 'Resume', startText = 'Start', actionsLabelText = 'Primary actions for %{step}', - descriptionLabelText = 'Description for %{step}', substepsLabelText = 'Secondary actions for %{step}', ...otherProps }: StepListProps) => ( @@ -68,7 +62,6 @@ export const StepList = ({ resumeText, startText, actionsLabelText, - descriptionLabelText, substepsLabelText, ...otherProps, }}