everpress-co / mailster-block-forms

Create Mailster forms with the block editor
https://wordpress.org/plugins/mailster-block-forms/
3 stars 0 forks source link

"First Name" block uses the "name" value for autocomplete instead of "given-name" #13

Open hike734 opened 1 year ago

hike734 commented 1 year ago

Describe the bug

When I use the "First Name" and "Last Name" blocks for signup forms, autocomplete on devices inputs "John Doe"(incorrect) for first name and "Doe" (correct) for last name. Many of my signups look like "John Doe Doe" or "Jane Smith Smith" due to this. I believe it is because the autocomplete value is set to "name" instead of "given-name".

Steps to Reproduce

  1. Create a new form
  2. Add the following blocks: First Name, Last Name, Email, and a Submit button
  3. Publish the form and use the autocomplete in any browser and notice how it fills out the first name

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

hike734 commented 10 months ago

Checking in on this. I'm not a coder, so I'm not sure how difficult of a fix this would be, but it seems fairly quick. I have to go in and edit my subscribers periodically because I often get signups like "Jane Doe Doe" because they are using autocomplete.