fix: update accessibility labels in LoginForm component for better screen reader support
This commit is contained in:
@@ -194,7 +194,7 @@ export function LoginForm({
|
||||
height={16}
|
||||
className="size-4 shrink-0"
|
||||
/>
|
||||
<span className="sr-only">{t("auth.wxworkSignIn")}</span>
|
||||
<span>{t("auth.wxworkSignIn")}</span>
|
||||
</Button>
|
||||
) : null}
|
||||
{authOptions.oidcEnabled ? (
|
||||
@@ -207,7 +207,7 @@ export function LoginForm({
|
||||
}}
|
||||
>
|
||||
<KeyRoundIcon className="size-4 shrink-0" />
|
||||
<span className="sr-only">{t("auth.oidcSignIn")}</span>
|
||||
<span>{t("auth.oidcSignIn")}</span>
|
||||
</Button>
|
||||
) : null}
|
||||
</Field>
|
||||
|
||||
Reference in New Issue
Block a user