- Issue created by @Anybody
This is a follow-up issue on 🐛 8.x-1.12 shows captcha fieldset, even without captcha output Fixed specific to reCaptcha.
Using CAPTCHA <= 8.x-1.10 using reCaptcha, there was no fieldset legend like "CAPTCHA" shown.
With with 2.x and 8.x-1.11 which is based on 2.x reCaptcha is by default wrapped in a fieldset with CAPTCHA
The "CAPTCHA" label was already there in older versions, but not for reCaptcha, so fixing this is reCaptcha related and should be done in the reCaptcha module. This can't be cleanly solved in CAPTCHA, without introducing a reCaptcha specific if-clause.
So perhaps this will never be done and accepted ad minor breaking change in 2.x?
The issue only exists for existing pages upgrading to 2.x or CAPTCHA > 8.x-1.10.
2.x has a setting for the Captcha title at admin/config/people/captcha
. Just empty the title there (and in all translations, if multilanguage) and the fieldset and legend are gone, since
📌
Use "legend" HTML element instead of label in 'captcha.html.twig', use div if no title given
Fixed
.
Some options:
Active
2.0
Code