adds honeypot attribute info
This commit is contained in:
12
README.md
12
README.md
@ -88,6 +88,18 @@ Many bots scan through webpages and try to see what pages and forms they can get
|
||||
Since screenreader users will still have this announced, it is important for us to
|
||||
communicate that this is a field not meant to be filled in.
|
||||
|
||||
For this to work we also need to add a `netlify-honeypot` attribute to the form element.
|
||||
|
||||
```html
|
||||
<form
|
||||
netlify
|
||||
netlify-honeypot
|
||||
action="/testpage"
|
||||
method="post"
|
||||
>
|
||||
```
|
||||
[See it here in the template code.](https://github.com/netlify-templates/nuxt-toolbox/blob/abb24c52738d79bcd11ff8a1bc70e0d2d250e7f1/components/feedbackForm.vue#L3)
|
||||
|
||||
### Forms Resources
|
||||
|
||||
- [Netlify Forms Setup](https://docs.netlify.com/forms/setup/)
|
||||
|
Reference in New Issue
Block a user