diff --git a/packages/surveys/src/components/BackButton.tsx b/packages/surveys/src/components/BackButton.tsx index 25181a5801..a031cb46bc 100644 --- a/packages/surveys/src/components/BackButton.tsx +++ b/packages/surveys/src/components/BackButton.tsx @@ -3,11 +3,13 @@ import { cn } from "../../../lib/cn"; interface BackButtonProps { onClick: () => void; backButtonLabel?: string; + tabIndex?: number; } -export function BackButton({ onClick, backButtonLabel }: BackButtonProps) { +export function BackButton({ onClick, backButtonLabel, tabIndex = 2 }: BackButtonProps) { return (