• Resolved David181

    (@david181)


    Hi there,

    I did a W3 Validation Test on my website and one error comes back to WordPress, not my theme:

    https://i.ibb.co/Bqy8JS8/190530-0002.png

    I’m running WordPress 4.9.9.

    Is there a plan from WordPress itself to fix this error?

    Thanks and best,
    David

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • CrouchingBruin

    (@crouchingbruin)

    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.

    Thread Starter David181

    (@david181)

    Hi @crouchingbruin,

    you’ll find it in the source code of:
    http://once.ly/GK1MO

    Thanks and best,
    David

    CrouchingBruin

    (@crouchingbruin)

    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.

    Thread Starter David181

    (@david181)

    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

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘W3 Validation error’ is closed to new replies.