From 2d1704854f32a86de16f9c982f65bf34d6a3a1c0 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Sat, 30 May 2026 20:39:36 +0800 Subject: [PATCH] fix: update accessibility labels in LoginForm component for better screen reader support --- web/components/login-form.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/components/login-form.tsx b/web/components/login-form.tsx index 6f5922c..21d8456 100644 --- a/web/components/login-form.tsx +++ b/web/components/login-form.tsx @@ -186,15 +186,15 @@ export function LoginForm({ : "/api/auth/wxwork_qr_login" window.location.href = `${path}?next=${encodeURIComponent(redirectPath)}` }} - > - + - {t("auth.wxworkSignIn")} + height={16} + className="size-4 shrink-0" + /> + {t("auth.wxworkSignIn")} ) : null} {authOptions.oidcEnabled ? ( @@ -207,7 +207,7 @@ export function LoginForm({ }} > - {t("auth.oidcSignIn")} + {t("auth.oidcSignIn")} ) : null}