We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1cc92 commit 77ff758Copy full SHA for 77ff758
1 file changed
packages/ui/src/components/SignIn/SignInStart.tsx
@@ -734,12 +734,25 @@ const InstantPasswordRow = ({
734
return (
735
<Form.ControlRow
736
elementId={field.id}
737
- sx={show ? undefined : { display: 'none' }}
+ aria-hidden={show ? undefined : true}
738
+ sx={
739
+ show
740
+ ? undefined
741
+ : {
742
+ position: 'absolute',
743
+ opacity: 0,
744
+ height: 0,
745
+ overflow: 'hidden',
746
+ pointerEvents: 'none',
747
+ marginTop: '-1rem',
748
+ }
749
750
>
751
<Form.PasswordInput
752
{...field.props}
753
actionLabel={show ? localizationKeys('formFieldAction__forgotPassword') : undefined}
754
onActionClicked={show ? onForgotPasswordClick : undefined}
755
+ tabIndex={show ? undefined : -1}
756
ref={ref}
757
/>
758
</Form.ControlRow>
0 commit comments