adds honeypot attribute info
This commit is contained in:
14
README.md
14
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/)
|
||||
@ -123,4 +135,4 @@ There are many ways to use redirects. Check out the resouces below to learn more
|
||||
- [Redirect options](https://docs.netlify.com/routing/redirects/redirect-options/)
|
||||
- [Creating better, more predicatable redirect rules for SPAs](https://www.netlify.com/blog/2020/04/07/creating-better-more-predictable-redirect-rules-for-spas/)
|
||||
- [Redirect by country or language](https://docs.netlify.com/routing/redirects/redirect-options/#redirect-by-country-or-language)
|
||||
- [On-Demand Builders](https://docs.netlify.com/configure-builds/on-demand-builders/)
|
||||
- [On-Demand Builders](https://docs.netlify.com/configure-builds/on-demand-builders/)
|
||||
|
Reference in New Issue
Block a user