Hi @joachimschlosser,
You’re 100% correct. I’ve removed this. I’m planning on pushing a small update at some point today and I will include this fix. Thanks a lot for letting us know! 🙂
Kevin.
Thanks, Kevin, great. There is also a ton of other violations around nesting of labels and input fields, but I have not yet looked into it deeply to suggest anything.
Hi Joachim,
The process_form_shortcode file is huge and handles a lot of different options (so a lot of conditionals). It also mixes HTML and PHP, which can cause a lot of unnecessary output and makes it more difficult to read (especially when combined with conditionals). I am not surprised that there are violations and I’d love to clean up this file more.
We have a ticket clean up this file so any advice/suggestions you have will be written down and appreciated!
Plugin Contributor
Tracy Levesque
(@liljimmi)
🏳️🌈 YIKES, Inc. Co-Owner