In the new rows, the labels of each radio button have the appropriate for
value to associate with the radio input so screenreaders can "see" it properly, and one can click the label to select a radio.
The label has a for
value that is incorrect—it does not match the generated name of the radio input.
For example:
<input class="form-check-input" type="radio" id="jform_com_fields__my_subform__row10__field1322" name="jform[com_fields][my-subform][row10][field132]" value="value">
and
<label for="jform_com_fields__my_subform__rowX__field1322" class="form-check-label">Text</label>
Note the difference between row10 and rowX.
This problem is resolved on saving the item with the additional rows.
Joomla 4.1.2
PHP 8.0
This is an accessibility and usability issue. Seems to be JS related but the code behind subforms is dark magic to me so I am not sure where to look to start debugging.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
a11y
|
Labels |
Added:
bug
|