#41374 closed defect (bug) (invalid)
Wrong autocomplete value for comment forms
Reported by: | 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:
- Open your wordpress blog.
- Go to a page that contains a comment form.
- View the page source and look for 'autocomplete="nope"'.
Change History (3)
#2
@
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.
Note: See
TracTickets for help on using
tickets.
@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 valuenope
. 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?