From b4e5c019294ff80d95739fd4eb03453f52043447 Mon Sep 17 00:00:00 2001 From: Patrick Weiner <79566176+patrick-primesign@users.noreply.github.com> Date: Thu, 30 Oct 2025 11:02:00 +0100 Subject: [PATCH] Set `autofocus` on WebAuthn authenticate button in keycloak.v2 login theme. (#43803) Closes #43802 Signed-off-by: Patrick Weiner --- .../resources/theme/keycloak.v2/login/webauthn-authenticate.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/src/main/resources/theme/keycloak.v2/login/webauthn-authenticate.ftl b/themes/src/main/resources/theme/keycloak.v2/login/webauthn-authenticate.ftl index bc38053fb5e..a74b739d69c 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/webauthn-authenticate.ftl +++ b/themes/src/main/resources/theme/keycloak.v2/login/webauthn-authenticate.ftl @@ -100,7 +100,7 @@ <@buttons.actionGroup> - <@buttons.button id="authenticateWebAuthnButton" label="webauthn-doAuthenticate" class=["kcButtonPrimaryClass","kcButtonBlockClass"]/> + <@buttons.button id="authenticateWebAuthnButton" label="webauthn-doAuthenticate" class=["kcButtonPrimaryClass","kcButtonBlockClass"] autofocus="autofocus"/>