mirror of
https://github.com/keycloak/keycloak.git
synced 2026-02-03 20:39:33 -05:00
Login[v2]: Improve a11y for authenticator selector
Clickable elements should be focusable and have interactive semantics. See: https://developer.mozilla.org/en-US/docs/Web/Accessibility/Guides/Understanding_WCAG/Keyboard?utm_source=devtools&utm_medium=a11y-panel-checks-keyboard#Interactive_elements_must_be_focusable Closes #45227 Signed-off-by: Fabian Bieler <fabian.bieler@scoop-software.de>
This commit is contained in:
parent
eac504cce5
commit
6550d1b808
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@
|
|||
<form id="kc-select-credential-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">
|
||||
<input type="hidden" name="authenticationExecution" value="${authenticationSelection.authExecId}">
|
||||
</form>
|
||||
<div class="${properties.kcSelectAuthListItemClass!}" onclick="document.forms[${authenticationSelection?index}].requestSubmit()">
|
||||
<div role="button" class="${properties.kcSelectAuthListItemClass!}" onclick="document.forms[${authenticationSelection?index}].requestSubmit()" tabindex="0">
|
||||
<div class="pf-v5-c-data-list__item-content">
|
||||
<div class="${properties.kcSelectAuthListItemIconClass!}">
|
||||
<i class="${properties['${authenticationSelection.iconCssClass}']!authenticationSelection.iconCssClass} ${properties.kcSelectAuthListItemIconPropertyClass!}"></i>
|
||||
|
|
|
|||
Loading…
Reference in a new issue