mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
The `<label for="…">` must match `<button id="…">`.
Before `/realms/{{REALM}}/account/personalInfo`:
```html
<div class="pf-v5-c-form__group">
<div class="pf-v5-c-form__group-label">
<label class="pf-v5-c-form__label"
for="attributes.locale" <!-- Does not match `<button id>` -->
>[…]</label>
</div>
<div class="pf-v5-c-form__group-control">
<button class="pf-v5-c-menu-toggle pf-m-full-width" type="button" aria-label="toggle" aria-expanded="false"
id="locale" <!-- Does not match `<label for>` -->
data-ouia-component-type="PF5/MenuToggle"
data-ouia-safe="true"
data-ouia-component-id="OUIA-Generated-MenuToggle-5"
>[…]</button>
</div>
</div>
```
6d6f9667c6/js/libs/ui-shared/src/controls/select-control/SingleSelectControl.tsx (L77)
Signed-off-by: Ayke Halder <rr-it@users.noreply.github.com>