No Code Attached Yet a11y
avatar modernmagic
modernmagic
14 Aug 2026

Steps to reproduce the issue

  1. setup a com_contact menu item
  2. Check developer console

Version

6.1

Expected result

I do not expect to see issues in the developer console.

Actual result

Developer Console shows these issues:

Image

What device were you using? (eg, phone, laptop)

No response

What web browser were you using? (eg, Chrome, Safari)

No response

Assistive Technology?

none

Additional Comments

They were resolved by overriding default_form.php

1. TO FIX jform_captcha-lbl ISSUE:
FIND:

<?php if ($this->captchaEnabled) : ?>
    <?php echo $this->form->renderFieldset('captcha'); ?>
<?php endif; ?>

REPLACE WITH:

<?php if ($this->captchaEnabled) : ?>
    <?php foreach ($this->form->getFieldset('captcha') as $captchaField) : ?>
        <div class="control-group mb-3 custom-captcha-wrap">
            <div class="controls">
                <!-- Output only the raw captcha engine code, stripping the broken container label -->
                <?php echo $captchaField->input; ?>
            </div>
        </div>
    <?php endforeach; ?>
<?php endif; ?>

2. TO FIX jform_spacer-lbl ISSUE:
FIND:

<?php foreach ($fields as $field) : ?>
    <?php echo $field->renderField(); ?>
<?php endforeach; ?>

REPLACE WITH:

<?php foreach ($fields as $field) : ?>
    <?php 
    // Check if the current field is a structural divider or spacer
    if ($field->type === 'Spacer' || str_contains(strtolower($field->id), 'spacer')) : ?>
        <div class="control-group mb-3 standard-spacer-wrap">
            <div class="controls border-top pt-2">
                <!-- Render only the spacer markup text/HR, bypassing the label generator -->
                <?php echo $field->input; ?>
            </div>
        </div>
    <?php else : ?>
        <!-- Let all real input elements render standard matching labels -->
        <?php echo $field->renderField(); ?>
    <?php endif; ?>
<?php endforeach; ?>
avatar modernmagic modernmagic - open - 14 Aug 2026
avatar joomla-cms-bot joomla-cms-bot - change - 14 Aug 2026
Labels Added: No Code Attached Yet a11y
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Aug 2026
avatar modernmagic modernmagic - change - 14 Aug 2026
The description was changed
avatar modernmagic modernmagic - edited - 14 Aug 2026
avatar modernmagic modernmagic - change - 14 Aug 2026
The description was changed
avatar modernmagic modernmagic - edited - 14 Aug 2026
avatar modernmagic modernmagic - change - 14 Aug 2026
The description was changed
avatar modernmagic modernmagic - edited - 14 Aug 2026
avatar modernmagic modernmagic - change - 14 Aug 2026
The description was changed
avatar modernmagic modernmagic - edited - 14 Aug 2026
avatar QuyTon QuyTon - change - 17 Aug 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-08-17 06:00:08
Closed_By QuyTon
avatar QuyTon QuyTon - close - 17 Aug 2026
avatar QuyTon
QuyTon - comment - 17 Aug 2026

Please test PR #48244. Thanks.

Add a Comment

Login with GitHub to post a comment