Skip to content

Commit

Permalink
Adding aria-hidden attr to honeypot field
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-vara committed Nov 22, 2023
1 parent 3271b74 commit f88ce8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/v2-forms/v2-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ const addForm = async (block) => {
name="form-${formName}"
action="${formAction}"
>${formContent.default}
<div style="position:absolute; left:-9999px; top: -9999px;">
<div style="position:absolute; left:-9999px; top: -9999px;" aria-hidden="true">
<label for="pardot_extra_field">Comments</label>
<input type="text" id="pardot_extra_field" name="pardot_extra_field" />
</div>
Expand Down

0 comments on commit f88ce8e

Please sign in to comment.