Can you please post a link to the actual page? Did WordPress create that textarea field? If so, where? The valid values for the autocomplete attribute are either yes or no.
Hi @crouchingbruin,
you’ll find it in the source code of:
http://once.ly/GK1MO
Thanks and best,
David
Something very strange with the comment field on that page. I installed and activated the same theme (GeneratePress), and I didn’t see the same autocomplete attribute in the comment field on my site.
But what is interesting about your page is that there’s a hidden textarea field right next to the comment textarea (well, it’s not really “hidden” but it’s sized to 1px by 1px so you can’t see it), and it’s assigned a peculiar ID by some javascript code. And it’s the comment field plus this hidden field which both contain the autocomplete attribute. I don’t know what might have put that hidden field there, or what it’s used for but I’m guessing whatever did (maybe a plugin?) is also responsible for adding the autocomplete attribute to the comment field. What you might try is disabling your plugins to see if that attribute disappears.
Dear @crouchingbruin,
thanks for your research.
Your guess is absolutely right – I is the plugin Antispam Bee.
Let’s see what they say. 😉
https://ww.wp.xz.cn/support/topic/w3-validation-test-invalid-code/
Thanks and best,
David