diff --git a/core/components/atoms/input/Input.tsx b/core/components/atoms/input/Input.tsx index 07a8618f11..734d3af4ce 100644 --- a/core/components/atoms/input/Input.tsx +++ b/core/components/atoms/input/Input.tsx @@ -228,13 +228,15 @@ export const Input = React.forwardRef((props, forw ); return ( + // eslint-disable-next-line
ref.current?.focus()} - role="presentation" + role="textbox" onBlur={() => setIsInputBlank(!ref.current?.value)} + tabIndex={0} > {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 3a24c3bd39..09b0b34b88 100644 --- a/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap +++ b/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap @@ -8,8 +8,9 @@ exports[`Input component