I have a bug in my CAPTCHA implementation. When I click the "Get new captcha!" link, it does not refresh the image CAPTCHA.
After a ton of research in issue queues, testing and breaking my local, and finding everything that was NOT causing it I finally turned off my custom theme and lo, the "Get new captcha!" link works again.
My custom theme is built on USWDS Base theme.
- not using a CDN
I'm using:
- Drupal 9.0.11
- CAPTCHA and Image CAPTCHA 8.x-1.1
- USWDS Base Theme 8.x-2-4
No errors are produced in the log or in the console. I "feel" like it might be something related Ajax, but I can't figure out how to sniff it out or narrow it down.
Can anyone give me suggestions for settings I can test and change or specific places in code I might check to try to fix this? Thank you.
Update: I just tried using straight USWDS Base theme, no custom theme, and CAPTCHA bug is still there. So not my custom theme, but my contrib base theme.