diff --git a/core/components/atoms/input/Input.tsx b/core/components/atoms/input/Input.tsx index 1a959095e0..de28d8e6fd 100644 --- a/core/components/atoms/input/Input.tsx +++ b/core/components/atoms/input/Input.tsx @@ -230,6 +230,8 @@ export const Input = React.forwardRef((props, forw onClick={() => ref.current?.focus()} role="presentation" onBlur={() => setIsInputBlank(!ref.current?.value)} + /* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex, jsx-a11y/tabindex-no-positive*/ + tabIndex={1} > {inlineLabel && (
diff --git a/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap b/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap index c6c015e081..c4e31e441a 100644 --- a/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap +++ b/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap @@ -10,6 +10,7 @@ exports[`Input component data-test="DesignSystem-InputWrapper" role="presentation" style="min-width: 256px;" + tabindex="1" >