diff --git a/packages/orbit-components/src/InputField/index.tsx b/packages/orbit-components/src/InputField/index.tsx index 3678c8e1f7..bd349a7837 100644 --- a/packages/orbit-components/src/InputField/index.tsx +++ b/packages/orbit-components/src/InputField/index.tsx @@ -269,7 +269,7 @@ const InputField = React.forwardRef((props, ref) => { ref={ref} tabIndex={tabIndex !== undefined ? Number(tabIndex) : undefined} list={list} - aria-labelledby={!label ? inputId : undefined} + aria-label={label ? (label as string) : undefined} aria-describedby={shown ? `${inputId}-feedback` : undefined} aria-invalid={error ? true : undefined} aria-autocomplete={ariaAutocomplete}