Issue Bug Closed

#109355"selectMultipleSideBySide" missing connection between label and input

Philipp Tautz 03/25/26, 08:35 updated 08/11/26, 08:46

Description

Description

The “selectMultipleSideBySide” <label> is missing a connection to its <input>. This effects all versions including v14.

Is:

<!-- simplified -->

<div class="form-multigroup-item">

<!-- disconnected label: -->
  <label>{labelName}</label>

  <div class="form-wizards-wrap">
    <div class="form-wizards-item-filter">
      <span class="input-group">
          <!-- in v14 this is a background image -->
        <svg>...</svg>
<!-- disconnected input: -->
        <input class="t3js-formengine-multiselect-filter-textfield form-control" value="">
      </span>
     </div> 

     <div class="form-wizards-item-element">
       <select size="{}" id="{}" class="form-select t3js-formengine-select-itemstoselect" aria-invalid="false">
         <option title="{}" value="{}">{optionName}</option>
       </select>
     </div>
  </div>
</div>

Should:

In order to connect the label to the input programatically, the

This will allow screenreader users to hear a connection and allow pointer users to click / tab on the label to get into the inputfield.

<!-- simplified -->

<div class="form-multigroup-item">

<!-- label wiht FOR: -->
  <label for="{}">{labelName}</label>

  <div class="form-wizards-wrap">
    <div class="form-wizards-item-filter">
      <span class="input-group">
        <!-- in v14 this is a background image -->
        <svg>...</svg>
<!-- input wiht ID: -->
        <input id="{}" class="t3js-formengine-multiselect-filter-textfield form-control" value="">
      </span>
     </div> 

     <div class="form-wizards-item-element">
       <select size="{}" id="{}" class="form-select t3js-formengine-select-itemstoselect" aria-invalid="false">
         <option title="{}" value="{}">{optionName}</option>
       </select>
     </div>
  </div>
</div>

Reproduction Steps

Open TYPO3 backend and edit a normal text element. Go the “access” tab. In the “Usergroup Access Rights” area is a “usabel objects” input field with a following multiselect.

Select the input element with any screenreader and you notice that the input field is annoucned without the label.

Impact

Recommended Solution

Create a connection between label and input with for and id attributes as described in the “should” code block above.

Definition of Done

  • Updated styles implemented, tested, and merged.
  • for and id attributes have been implemented.
  • Click / tabbing on the label sets fokus to the input
  • Focusing with a screen reader on the input announces the label.
  • No adverse side effects on other backend form controls.
  • Documentation/changelog note added.

Reviews 2

History 29

  1. Christian Rath-Ulrich commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-04-27T18:15:09+00:00" > 04/27/26, 18:15 </span>

    Applied in changeset commit:6b92da152f1f3f6c491d9268325ff9308177c71f.