Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#41374 closed defect (bug) (invalid)

Wrong autocomplete value for comment forms

Reported by: wayne17's profile wayne17 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Testing my website with the W3C validator, it gives me the error

"Bad value 'nope' for attribute 'autocomplete' on element 'textarea'".

Instead of "nope" the value should be "off".

The textarea is created in my comments template (comments.php) using comment_form() function.

The problem occurred after updating to Wordpress 4.8.0 (stable).

To reproduce the problem:

  1. Open your wordpress blog.
  2. Go to a page that contains a comment form.
  3. View the page source and look for 'autocomplete="nope"'.

Change History (3)

#1 @afercia
7 years ago

  • Keywords reporter-feedback added

@wayne17 thanks for your report and welcome to Trac! As far as I see, there's nothing in WordPress that outputs an autocomplete attribute with value nope. This is very likely something output by the theme you're using or a plugin that is modifying the comments textarea. Can you please check if this still happens with all plugins disabled and a default theme like Twenty Seventeen?

#2 @wayne17
7 years ago

  • Keywords reporter-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed

Thanks for your reply and help.

It's the Antispam Bee plugin that causes this behavior.

See https://github.com/pluginkollektiv/antispam-bee/blob/master/antispam_bee.php.

Line 1300 and 1311.

This can be closed.

#3 @afercia
7 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.